Package org.htmlunit.cssparser.dom
Class DOMExceptionImpl
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.w3c.dom.DOMException
-
- org.htmlunit.cssparser.dom.DOMExceptionImpl
-
- All Implemented Interfaces:
java.io.Serializable
public class DOMExceptionImpl extends org.w3c.dom.DOMException
CustomDOMException
extension.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
CHARSET_NOT_FIRST
CHARSET_NOT_FIRST = 11.static int
CHARSET_NOT_UNIQUE
CHARSET_NOT_UNIQUE = 12.static int
EXPECTING_CHARSET_RULE
EXPECTING_CHARSET_RULE = 4.static int
EXPECTING_FONT_FACE_RULE
EXPECTING_FONT_FACE_RULE = 7.static int
EXPECTING_IMPORT_RULE
EXPECTING_IMPORT_RULE = 5.static int
EXPECTING_MEDIA_RULE
EXPECTING_MEDIA_RULE = 6.static int
EXPECTING_PAGE_RULE
EXPECTING_PAGE_RULE = 8.static int
EXPECTING_STYLE_RULE
EXPECTING_STYLE_RULE = 3.static int
FLOAT_ERROR
FLOAT_ERROR = 9.static int
IMPORT_NOT_FIRST
IMPORT_NOT_FIRST = 13.static int
INDEX_OUT_OF_BOUNDS
INDEX_OUT_OF_BOUNDS = 1.static int
INSERT_BEFORE_IMPORT
INSERT_BEFORE_IMPORT = 16.(package private) static java.lang.String[]
messages
static int
NOT_FOUND
NOT_FOUND = 14.static int
NOT_IMPLEMENTED
NOT_IMPLEMENTED = 15.static int
READ_ONLY_STYLE_SHEET
READ_ONLY_STYLE_SHEET = 2.static int
STRING_ERROR
STRING_ERROR = 10.static int
SYNTAX_ERROR
SYNTAX_ERROR = 0.-
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
Constructors Constructor Description DOMExceptionImpl(int code, int messageKey)
Ctor.DOMExceptionImpl(int code, int messageKey, java.lang.String info)
Ctor.DOMExceptionImpl(short code, int messageKey)
Ctor.
-
-
-
Field Detail
-
SYNTAX_ERROR
public static final int SYNTAX_ERROR
SYNTAX_ERROR = 0.- See Also:
- Constant Field Values
-
INDEX_OUT_OF_BOUNDS
public static final int INDEX_OUT_OF_BOUNDS
INDEX_OUT_OF_BOUNDS = 1.- See Also:
- Constant Field Values
-
READ_ONLY_STYLE_SHEET
public static final int READ_ONLY_STYLE_SHEET
READ_ONLY_STYLE_SHEET = 2.- See Also:
- Constant Field Values
-
EXPECTING_STYLE_RULE
public static final int EXPECTING_STYLE_RULE
EXPECTING_STYLE_RULE = 3.- See Also:
- Constant Field Values
-
EXPECTING_CHARSET_RULE
public static final int EXPECTING_CHARSET_RULE
EXPECTING_CHARSET_RULE = 4.- See Also:
- Constant Field Values
-
EXPECTING_IMPORT_RULE
public static final int EXPECTING_IMPORT_RULE
EXPECTING_IMPORT_RULE = 5.- See Also:
- Constant Field Values
-
EXPECTING_MEDIA_RULE
public static final int EXPECTING_MEDIA_RULE
EXPECTING_MEDIA_RULE = 6.- See Also:
- Constant Field Values
-
EXPECTING_FONT_FACE_RULE
public static final int EXPECTING_FONT_FACE_RULE
EXPECTING_FONT_FACE_RULE = 7.- See Also:
- Constant Field Values
-
EXPECTING_PAGE_RULE
public static final int EXPECTING_PAGE_RULE
EXPECTING_PAGE_RULE = 8.- See Also:
- Constant Field Values
-
FLOAT_ERROR
public static final int FLOAT_ERROR
FLOAT_ERROR = 9.- See Also:
- Constant Field Values
-
STRING_ERROR
public static final int STRING_ERROR
STRING_ERROR = 10.- See Also:
- Constant Field Values
-
CHARSET_NOT_FIRST
public static final int CHARSET_NOT_FIRST
CHARSET_NOT_FIRST = 11.- See Also:
- Constant Field Values
-
CHARSET_NOT_UNIQUE
public static final int CHARSET_NOT_UNIQUE
CHARSET_NOT_UNIQUE = 12.- See Also:
- Constant Field Values
-
IMPORT_NOT_FIRST
public static final int IMPORT_NOT_FIRST
IMPORT_NOT_FIRST = 13.- See Also:
- Constant Field Values
-
NOT_FOUND
public static final int NOT_FOUND
NOT_FOUND = 14.- See Also:
- Constant Field Values
-
NOT_IMPLEMENTED
public static final int NOT_IMPLEMENTED
NOT_IMPLEMENTED = 15.- See Also:
- Constant Field Values
-
INSERT_BEFORE_IMPORT
public static final int INSERT_BEFORE_IMPORT
INSERT_BEFORE_IMPORT = 16.- See Also:
- Constant Field Values
-
messages
static final java.lang.String[] messages
-
-
Constructor Detail
-
DOMExceptionImpl
public DOMExceptionImpl(short code, int messageKey)
Ctor.- Parameters:
code
- the codemessageKey
- the message key
-
DOMExceptionImpl
public DOMExceptionImpl(int code, int messageKey)
Ctor.- Parameters:
code
- the codemessageKey
- the message key
-
DOMExceptionImpl
public DOMExceptionImpl(int code, int messageKey, java.lang.String info)
Ctor.- Parameters:
code
- the codemessageKey
- the message keyinfo
- additional info
-
-