Package com.thoughtworks.qdox.parser
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.thoughtworks.qdox.parser.ParseException
- All Implemented Interfaces:
Serializable
Thrown to indicate an error during parsing
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
The column where the ParserException occurredprivate int
The line where the ParserException occurredprivate String
The sourceInfo of where the exception occurred -
Constructor Summary
ConstructorsConstructorDescriptionParseException
(String message, int line, int column) Default constructor for the ParseException -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
line
private int lineThe line where the ParserException occurred -
column
private int columnThe column where the ParserException occurred -
sourceInfo
The sourceInfo of where the exception occurred
-
-
Constructor Details
-
ParseException
Default constructor for the ParseException- Parameters:
message
- the messageline
- the line numbercolumn
- the column number
-
-
Method Details
-
getLine
public int getLine() -
getColumn
public int getColumn() -
setSourceInfo
-
getMessage
- Overrides:
getMessage
in classThrowable
-