public class PosConvertException extends ConvertException
Modifier and Type | Field and Description |
---|---|
private int |
column
The column
|
private int |
line
The line
|
private static long |
serialVersionUID |
Constructor and Description |
---|
PosConvertException(java.lang.String message,
int line,
int column)
Instantiates a new exception with position information.
|
PosConvertException(java.lang.Throwable cause,
int line,
int column)
Instantiates a new exception with position information.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
Gets the column of the exception location.
|
int |
getLine()
Gets the line of the exception location.
|
parseException, proofJavaException
private static final long serialVersionUID
private final int line
private int column
public PosConvertException(java.lang.String message, int line, int column)
message
- the message, not nullline
- the line to point tocolumn
- the column to point topublic PosConvertException(java.lang.Throwable cause, int line, int column)
cause
- the exception causing this instance.line
- the line to point tocolumn
- the column to point to