java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.w3c.dom.DOMException
io.sf.carte.doc.DOMCharacterException
io.sf.carte.doc.DOMNullCharacterException
- All Implemented Interfaces:
Serializable
Null character exception for DOM.
Although NULL is a valid character in CSS (in the sense that it does not cause the parsing to fail), it is often used as a hack to target specific browsers. This exception is intended to help in the identification of such cases.
- See Also:
-
Field Summary
Fields inherited from class org.w3c.dom.DOMException
code, DOMSTRING_SIZE_ERR, HIERARCHY_REQUEST_ERR, INDEX_SIZE_ERR, INUSE_ATTRIBUTE_ERR, INVALID_ACCESS_ERR, INVALID_CHARACTER_ERR, INVALID_MODIFICATION_ERR, INVALID_STATE_ERR, NAMESPACE_ERR, NO_DATA_ALLOWED_ERR, NO_MODIFICATION_ALLOWED_ERR, NOT_FOUND_ERR, NOT_SUPPORTED_ERR, SYNTAX_ERR, TYPE_MISMATCH_ERR, VALIDATION_ERR, WRONG_DOCUMENT_ERR
-
Constructor Summary
ConstructorDescriptionDOMNullCharacterException
(int index) DOMNullCharacterException
(String message, int index) -
Method Summary
Methods inherited from class io.sf.carte.doc.DOMCharacterException
getIndex
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DOMNullCharacterException
public DOMNullCharacterException(int index) -
DOMNullCharacterException
-