public class XmlParsingException extends SAXException
Modifier and Type | Field and Description |
---|---|
private int |
columnNumber |
private int |
lineNumber |
Constructor and Description |
---|
XmlParsingException(Exception e)
Constructs a new
XmlParsingException . |
XmlParsingException(String message)
Constructs a new
XmlParsingException . |
XmlParsingException(String message,
Exception e)
Constructs a new
XmlParsingException . |
Modifier and Type | Method and Description |
---|---|
int |
getColumnNumber()
Returns the column number where the exception occured.
|
int |
getLineNumber()
Returns the line number where the exception occured.
|
String |
getMessage() |
XmlParsingException |
rememberLocation(Locator locator)
Sets the location (line/column) where the exception occured.
|
getCause, getException, toString
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
private int columnNumber
private int lineNumber
public XmlParsingException(Exception e)
XmlParsingException
.e
- The causepublic XmlParsingException(String message, Exception e)
XmlParsingException
.message
- The error messagee
- The causepublic XmlParsingException(String message)
XmlParsingException
.message
- The error messagepublic XmlParsingException rememberLocation(Locator locator)
locator
- object giving the location (line/column) where the exception occuredthis
public String getMessage()
getMessage
in class SAXException
public int getColumnNumber()
public int getLineNumber()