public interface DOMException
The following are the DOMException codes:
Code | 'Abstract' Constant name |
---|---|
Level 1 | |
1 | INDEX_SIZE_ERR |
2 | DOMSTRING_SIZE_ERR |
3 | HIERARCHY_REQUEST_ERR |
4 | WRONG_DOCUMENT_ERR |
5 | INVALID_CHARACTER_ERR |
6 | NO_DATA_ALLOWED_ERR |
7 | NO_MODIFICATION_ALLOWED_ERR |
8 | NOT_FOUND_ERR |
9 | NOT_SUPPORTED_ERR |
10 | INUSE_ATTRIBUTE_ERR |
Level 2 | |
11 | INVALID_STATE_ERR |
12 | SYNTAX_ERR |
13 | INVALID_MODIFICATION_ERR |
14 | NAMESPACE_ERR |
15 | INVALID_ACCESS_ERR |
Level 3 | |
16 | VALIDATION_ERR |
17 | TYPE_MISMATCH_ERR |
Modifier and Type | Field and Description |
---|---|
static int |
ABORT_ERR |
static int |
DATA_CLONE_ERR |
static int |
DOMSTRING_SIZE_ERR |
static int |
HIERARCHY_REQUEST_ERR |
static int |
INDEX_SIZE_ERR |
static int |
INUSE_ATTRIBUTE_ERR |
static int |
INVALID_ACCESS_ERR |
static int |
INVALID_CHARACTER_ERR |
static int |
INVALID_MODIFICATION_ERR |
static int |
INVALID_NODE_TYPE_ERR |
static int |
INVALID_STATE_ERR |
static int |
NAMESPACE_ERR |
static int |
NETWORK_ERR |
static int |
NO_DATA_ALLOWED_ERR |
static int |
NO_MODIFICATION_ALLOWED_ERR |
static int |
NOT_FOUND_ERR |
static int |
NOT_SUPPORTED_ERR |
static int |
QUOTA_EXCEEDED_ERR |
static int |
SECURITY_ERR |
static int |
SYNTAX_ERR |
static int |
TIMEOUT_ERR |
static int |
TYPE_MISMATCH_ERR |
static int |
URL_MISMATCH_ERR |
static int |
VALIDATION_ERR |
static int |
WRONG_DOCUMENT_ERR |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
String |
getMessage() |
String |
getName() |
static final int ABORT_ERR
static final int DATA_CLONE_ERR
static final int DOMSTRING_SIZE_ERR
static final int HIERARCHY_REQUEST_ERR
static final int INDEX_SIZE_ERR
static final int INUSE_ATTRIBUTE_ERR
static final int INVALID_ACCESS_ERR
static final int INVALID_CHARACTER_ERR
static final int INVALID_MODIFICATION_ERR
static final int INVALID_NODE_TYPE_ERR
static final int INVALID_STATE_ERR
static final int NAMESPACE_ERR
static final int NETWORK_ERR
static final int NOT_FOUND_ERR
static final int NOT_SUPPORTED_ERR
static final int NO_DATA_ALLOWED_ERR
static final int NO_MODIFICATION_ALLOWED_ERR
static final int QUOTA_EXCEEDED_ERR
static final int SECURITY_ERR
static final int SYNTAX_ERR
static final int TIMEOUT_ERR
static final int TYPE_MISMATCH_ERR
static final int URL_MISMATCH_ERR
static final int VALIDATION_ERR
static final int WRONG_DOCUMENT_ERR
Copyright © 2018. All rights reserved.