|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception anon.util.XMLParseException
public class XMLParseException
This exception is thrown if an error occurs while parsing an XML structure.
Field Summary | |
---|---|
static java.lang.String |
NODE_NULL_TAG
A constant that means that a node to parse was null. |
static java.lang.String |
ROOT_TAG
A constant that means that the document to parse has a wrong root tag. |
private static long |
serialVersionUID
serial version UID |
Constructor Summary | |
---|---|
XMLParseException(java.lang.String a_strTagName)
Creates a new exception. |
|
XMLParseException(java.lang.String a_strTagName,
java.lang.String a_strMessage)
Creates a new exception. |
Method Summary | |
---|---|
private static java.lang.String |
getMessage(java.lang.String a_strMessage)
|
private static java.lang.String |
parseTagName(java.lang.String a_strTagName)
Creates an error message from the given tag name. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 |
---|
private static final long serialVersionUID
public static final java.lang.String ROOT_TAG
public static final java.lang.String NODE_NULL_TAG
Constructor Detail |
---|
public XMLParseException(java.lang.String a_strTagName, java.lang.String a_strMessage)
a_strTagName
- the name of the tag where the exception occurreda_strMessage
- an additional message for a detailed description of this exceptionpublic XMLParseException(java.lang.String a_strTagName)
a_strTagName
- the name of the tag where the exception occuredMethod Detail |
---|
private static java.lang.String getMessage(java.lang.String a_strMessage)
private static java.lang.String parseTagName(java.lang.String a_strTagName)
a_strTagName
- a tag name to parse
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |