public class ReplError extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
line
The line the error occured on.
|
String |
msg
The message of the error.
|
int |
numPairs
The number of pairs we have processed so far.
|
String |
txt
The text of the line we errored on.
|
| Constructor and Description |
|---|
ReplError(IntHolder lne,
IntHolder nPairs,
String msg,
String txt)
Create a new ReplPair parse error.
|
ReplError(int lne,
int nPairs,
String msg,
String txt)
Create a new ReplPair parse error.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toPrintString() |
String |
toPrintString(String hdr) |
String |
toString() |
public int line
public int numPairs
public String txt
public String msg
public ReplError(IntHolder lne, IntHolder nPairs, String msg, String txt)
lne - The line the error occured on.nPairs - The number of pairs processed up to this point.msg - The message detailing the error.txt - The text that caused the error.Copyright © 2019. All rights reserved.