uk.org.ogsadai.common.xml
Class XMLDocumentException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--uk.org.ogsadai.exception.DAIException
|
+--uk.org.ogsadai.common.xml.XMLParseException
|
+--uk.org.ogsadai.common.xml.XMLDocumentException
- All Implemented Interfaces:
- DAIExceptionInformation, java.io.Serializable
- public class XMLDocumentException
- extends XMLParseException
An exception thrown when parsing an XML document including information on the point in the document causing the error.
Associated with: ErrorID.XML_PARSE_ERROR_WITH_LOCATION
.
- Author:
- The OGSA-DAI Project Team
- See Also:
- Serialized Form
Fields inherited from class uk.org.ogsadai.exception.DAIException |
|
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Method Summary |
int |
getColumn()
Get the number of the column at which the problem arose. |
int |
getLine()
Get the number of the line at which the problem arose. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COPYRIGHT_NOTICE
private static final java.lang.String COPYRIGHT_NOTICE
-
- See Also:
- Constant Field Values
mErrorMessage
private java.lang.String mErrorMessage
-
mLine
private int mLine
-
mColumn
private int mColumn
-
mHaveLocation
private boolean mHaveLocation
-
XMLDocumentException
public XMLDocumentException(org.xml.sax.SAXParseException cause)
-
Constructor.
- Parameters:
cause
- Cause of the parse exception.
getLine
public int getLine()
-
Get the number of the line at which the problem arose.
-
- Returns:
- line number.
getColumn
public int getColumn()
-
Get the number of the column at which the problem arose.
-
- Returns:
- column number.