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.ExceptionGeneral 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.Integercolprivate java.lang.Integerlineprivate static longserialVersionUID
-
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.IntegergetCol()java.lang.IntegergetLine()private static java.lang.Stringmessage(java.lang.String message, java.lang.Throwable throwable)private static java.lang.StringmessagePrefix(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)
-
-