Package org.attoparser
Class ParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.attoparser.ParseException
-
- All Implemented Interfaces:
java.io.Serializable
public class ParseException extends java.lang.Exception
General exception for parsing errors, thrown primarily by event handlers.
- Since:
- 2.0.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Integer
col
private java.lang.Integer
line
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description ParseException()
ParseException(int line, int col)
ParseException(java.lang.String message)
ParseException(java.lang.String message, int line, int col)
ParseException(java.lang.String message, java.lang.Throwable throwable)
ParseException(java.lang.String message, java.lang.Throwable throwable, int line, int col)
ParseException(java.lang.Throwable throwable)
ParseException(java.lang.Throwable throwable, int line, int col)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getCol()
java.lang.Integer
getLine()
private static java.lang.String
message(java.lang.String message, java.lang.Throwable throwable)
private static java.lang.String
messagePrefix(int line, int col)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
line
private final java.lang.Integer line
-
col
private final java.lang.Integer col
-
-
Constructor Detail
-
ParseException
public ParseException()
-
ParseException
public ParseException(java.lang.String message, java.lang.Throwable throwable)
-
ParseException
public ParseException(java.lang.String message)
-
ParseException
public ParseException(java.lang.Throwable throwable)
-
ParseException
public ParseException(int line, int col)
-
ParseException
public ParseException(java.lang.String message, java.lang.Throwable throwable, int line, int col)
-
ParseException
public ParseException(java.lang.String message, int line, int col)
-
ParseException
public ParseException(java.lang.Throwable throwable, int line, int col)
-
-