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 occured.
|
int |
getLineNumber()
Returns the line number where the exception occured.
|
java.lang.String |
getMessage() |
XmlParsingException |
rememberLocation(org.xml.sax.Locator locator)
Sets the location (line/column) where the exception occured.
|
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 occuredthispublic java.lang.String getMessage()
getMessage in class org.xml.sax.SAXExceptionpublic int getColumnNumber()
public int getLineNumber()