- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.thoughtworks.qdox.parser.ParseException
-
- All Implemented Interfaces:
Serializable
public class ParseException extends RuntimeException
Thrown to indicate an error during parsing- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParseException(String message, int line, int column)
Default constructor for the ParseException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumn()
int
getLine()
String
getMessage()
void
setSourceInfo(String sourceInfo)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ParseException
public ParseException(String message, int line, int column)
Default constructor for the ParseException- Parameters:
message
- the messageline
- the line numbercolumn
- the column number
-
-
Method Detail
-
getLine
public int getLine()
-
getColumn
public int getColumn()
-
setSourceInfo
public void setSourceInfo(String sourceInfo)
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-