public class XMLParseException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
private static final long serialVersionUID
public static final java.lang.String ROOT_TAG
public static final java.lang.String NODE_NULL_TAG
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 occuredprivate 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 parseCopyright © 2023. All rights reserved.