DOMError is an interface that describes an error.
See also the Document Object Model (DOM) Level 3 Core Specification.
| Modifier and Type | Field and Description |
|---|---|
| public static final short | SEVERITY_ERROR
The severity of the error described by the |
| public static final short | SEVERITY_FATAL_ERROR
The severity of the error described by the |
| public static final short | SEVERITY_WARNING
The severity of the error described by the |
| Modifier and Type | Method and Description |
|---|---|
| public DOMLocator | |
| public String | |
| public Object | |
| public Object | |
| public short | getSeverity()
The severity of the error, either |
| public String |
| SEVERITY_ERROR | back to summary |
|---|---|
| public static final short SEVERITY_ERROR The severity of the error described by the | |
| SEVERITY_FATAL_ERROR | back to summary |
|---|---|
| public static final short SEVERITY_FATAL_ERROR The severity of the error described by the | |
| SEVERITY_WARNING | back to summary |
|---|---|
| public static final short SEVERITY_WARNING The severity of the error described by the | |
| getLocation | back to summary |
|---|---|
| public DOMLocator getLocation() The location of the error. | |
| getMessage | back to summary |
|---|---|
| public String getMessage() An implementation specific string describing the error that occurred. | |
| getRelatedData | back to summary |
|---|---|
| public Object getRelatedData() The related | |
| getRelatedException | back to summary |
|---|---|
| public Object getRelatedException() The related platform dependent exception if any. | |
| getSeverity | back to summary |
|---|---|
| public short getSeverity() The severity of the error, either | |
| getType | back to summary |
|---|---|
| public String getType() A Note As an example,
| |