public class ParseException extends Exception
Constructor and Description |
---|
ParseException(int lineNumber,
int colNumber,
String systemId)
Constructs a new instance of this class with
null as its
detail message. |
ParseException(String message,
int lineNumber,
int colNumber,
String systemId)
Constructs a new instance of this class with the specified detail
message.
|
ParseException(String message,
Throwable rootCause,
int lineNumber,
int colNumber,
String systemId)
Constructs a new instance of this class with the specified detail
message and root cause.
|
ParseException(Throwable rootCause,
int lineNumber,
int colNumber,
String systemId)
Constructs a new instance of this class with the specified root cause.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ParseException(int lineNumber, int colNumber, String systemId)
null
as its
detail message.lineNumber
- line numbercolNumber
- columns numbersystemId
- system idpublic ParseException(String message, int lineNumber, int colNumber, String systemId)
message
- the detail message. The detail message is saved for
later retrieval by the getMessage()
method.lineNumber
- line numbercolNumber
- columns numbersystemId
- system idpublic ParseException(String message, Throwable rootCause, int lineNumber, int colNumber, String systemId)
message
- the detail message. The detail message is saved for
later retrieval by the getMessage()
method.lineNumber
- line numbercolNumber
- columns numbersystemId
- system idrootCause
- root failure causeCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.