public class XmlParsingException extends org.xml.sax.SAXException
Modifier and Type | Field and Description |
---|---|
private int |
columnNumber |
private int |
lineNumber |
Constructor and Description |
---|
XmlParsingException(java.lang.Exception e)
Constructs a new
XmlParsingException . |
XmlParsingException(java.lang.String message)
Constructs a new
XmlParsingException . |
XmlParsingException(java.lang.String message,
java.lang.Exception e)
Constructs a new
XmlParsingException . |
Modifier and Type | Method and Description |
---|---|
int |
getColumnNumber()
Returns the column number where the exception occurred.
|
int |
getLineNumber()
Returns the line number where the exception occurred.
|
java.lang.String |
getMessage() |
XmlParsingException |
rememberLocation(org.xml.sax.Locator locator)
Sets the location (line/column) where the exception occurred.
|
private int columnNumber
private int lineNumber
public XmlParsingException(java.lang.Exception e)
XmlParsingException
.e
- The causepublic XmlParsingException(java.lang.String message, java.lang.Exception e)
XmlParsingException
.message
- The error messagee
- The causepublic XmlParsingException(java.lang.String message)
XmlParsingException
.message
- The error messagepublic XmlParsingException rememberLocation(org.xml.sax.Locator locator)
locator
- object giving the location (line/column) where the exception occurredthis
public java.lang.String getMessage()
getMessage
in class org.xml.sax.SAXException
public int getColumnNumber()
public int getLineNumber()