|
Hilbert II - Version 0.03.08 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.qedeq.kernel.common.QedeqException
org.qedeq.kernel.xml.common.XmlSyntaxException
Exception that occurs during XML parsing. It specifies an syntactical error. It can also mark a lack of inner consistence of something. Also a programming error can lead to this exception.
| Field Summary | |
static int |
EMPTY_ATTRIBUTE_CODE
Error code for empty attribute. |
static String |
EMPTY_ATTRIBUTE_TEXT_1
Missing attribute text. |
static String |
EMPTY_ATTRIBUTE_TEXT_2
Missing attribute, part two. |
static int |
MISSING_ATTRIBUTE_CODE
Error code for missing attribute. |
static String |
MISSING_ATTRIBUTE_TEXT_1
Missing attribute text. |
static String |
MISSING_ATTRIBUTE_TEXT_2
Missing attribute, part two. |
static int |
PROGRAMMING_ERROR_CODE
Error code for a programming error. |
static String |
PROGRAMMING_ERROR_TEXT
Unexpected tag message text, part one. |
static int |
SAX_PARSER_EXCEPTION
Error code for Exceptions thrown by the SAXParser. |
static int |
UNEXPECTED_DATA_CODE
Error code for unexpected character data. |
static String |
UNEXPECTED_DATA_TEXT
Unexpected tag message text, part one. |
static int |
UNEXPECTED_TAG_CODE
Error code for unexpected tag. |
static String |
UNEXPECTED_TAG_TEXT
Unexpected tag message text. |
| Fields inherited from class java.lang.Exception |
|
| Method Summary | |
static XmlSyntaxException |
createByRuntimeException(RuntimeException e)
Create exception for a programming error. |
static XmlSyntaxException |
createEmptyAttributeException(String name,
String attribute)
Create exception for empty attribute within a tag. |
static XmlSyntaxException |
createMissingAttributeException(String name,
String attribute)
Create exception for missing attribute within a tag. |
static XmlSyntaxException |
createUnexpectedTagException(String name)
Create exception for unexpected tag. |
static XmlSyntaxException |
createUnexpectedTextDataException(String name,
String value)
Create exception for unexpected text data within a tag. |
SourcePosition |
getErrorPosition()
Get error position. |
void |
setErrorPosition(SourcePosition position)
Set error position. |
| Methods inherited from class org.qedeq.kernel.common.QedeqException |
getErrorCode |
| 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 |
public static final int SAX_PARSER_EXCEPTION
public static final int UNEXPECTED_TAG_CODE
public static final String UNEXPECTED_TAG_TEXT
public static final int UNEXPECTED_DATA_CODE
public static final String UNEXPECTED_DATA_TEXT
public static final int MISSING_ATTRIBUTE_CODE
public static final String MISSING_ATTRIBUTE_TEXT_1
public static final String MISSING_ATTRIBUTE_TEXT_2
public static final int EMPTY_ATTRIBUTE_CODE
public static final String EMPTY_ATTRIBUTE_TEXT_1
public static final String EMPTY_ATTRIBUTE_TEXT_2
public static final int PROGRAMMING_ERROR_CODE
public static final String PROGRAMMING_ERROR_TEXT
| Method Detail |
public final SourcePosition getErrorPosition()
public final void setErrorPosition(SourcePosition position)
position - Error position.public static final XmlSyntaxException createUnexpectedTagException(String name)
name - Tag name.
public static final XmlSyntaxException createUnexpectedTextDataException(String name,
String value)
name - Tag name.value - Data found.
public static final XmlSyntaxException createMissingAttributeException(String name,
String attribute)
name - Tag name.attribute - Attribute name.
public static final XmlSyntaxException createEmptyAttributeException(String name,
String attribute)
name - Tag name.attribute - Attribute name.
public static final XmlSyntaxException createByRuntimeException(RuntimeException e)
e - Exception.
|
Hilbert II - Version 0.03.08 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ©left GNU General Public Licence All Rights Reserved. |