|
|||||||||
| Home >> All >> com >> microstar >> [ xml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.microstar.xml
Class XmlException

java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.microstar.xml.XmlException
- All Implemented Interfaces:
- java.io.Serializable
- public class XmlException
- extends java.lang.Exception
Convenience exception class for reporting XML parsing errors.
This is an exception class that you can use to encapsulate all
of the information from Ælfred's error callback.
This is not necessary for routine use of Ælfred, but it
is used by the optional HandlerBase class.
Note that the core Ælfred classes do not use this exception.
- Version:
- 1.1
| Nested Class Summary |
| Nested classes inherited from class java.lang.Throwable |
|
| Field Summary | |
private int |
column
|
private int |
line
|
private java.lang.String |
message
|
private java.lang.String |
systemId
|
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
| Constructor Summary | |
XmlException(java.lang.String message,
java.lang.String systemId,
int line,
int column)
Construct a new XML parsing exception. |
|
| Method Summary | |
int |
getColumn()
Get the column number containing the error. |
int |
getLine()
Get the line number containing the error. |
java.lang.String |
getMessage()
Get the error message from the parser. |
java.lang.String |
getSystemId()
Get the URI of the entity containing the error. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
message
private java.lang.String message
systemId
private java.lang.String systemId
line
private int line
column
private int column
| Constructor Detail |
XmlException
public XmlException(java.lang.String message, java.lang.String systemId, int line, int column)
- Construct a new XML parsing exception.
| Method Detail |
getMessage
public java.lang.String getMessage()
- Get the error message from the parser.
getSystemId
public java.lang.String getSystemId()
- Get the URI of the entity containing the error.
getLine
public int getLine()
- Get the line number containing the error.
getColumn
public int getColumn()
- Get the column number containing the error.
|
|||||||||
| Home >> All >> com >> microstar >> [ xml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC