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, toStringaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceprivate 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 occuredthispublic String getMessage()
getMessage in class SAXExceptionpublic int getColumnNumber()
public int getLineNumber()