See also the DOMError Interface definition from Document Object Model (DOM) Level 3 Core Specification.
| Modifier and Type | Field and Description |
|---|---|
| private Exception | |
| private DOMLocatorImpl | |
| private String | |
| private Object | |
| private short | fSeverity
private data members |
| private String |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv | |
| pack-priv | DOMErrorImpl(short severity, String message, String type, Exception exception, Object relatedData, DOMLocatorImpl location)
|
| Modifier and Type | Method and Description |
|---|---|
| public DOMLocator | Returns: A DOMLocator object containing the DOMError location.Implements org. The location of the DOMError. |
| public String | |
| public Object | Returns: java.lang.ObjectImplements org. The related DOMError.type dependent data if any. |
| public Object | Returns: A java.lang.ExceptionImplements org. The related platform dependent exception if any. |
| public short | Returns: A short containing the DOMError severityImplements org. The severity of the error, either |
| public String | Returns: A StringImplements org. Returns a String indicating which related data is expected in relatedData. |
| public void |
| fException | back to summary |
|---|---|
| private Exception fException | |
| fLocation | back to summary |
|---|---|
| private DOMLocatorImpl fLocation | |
| fMessage | back to summary |
|---|---|
| private String fMessage | |
| fRelatedData | back to summary |
|---|---|
| private Object fRelatedData | |
| fSeverity | back to summary |
|---|---|
| private short fSeverity private data members | |
| fType | back to summary |
|---|---|
| private String fType | |
| DOMErrorImpl | back to summary |
|---|---|
| pack-priv DOMErrorImpl() Default constructor. | |
| DOMErrorImpl | back to summary |
|---|---|
| pack-priv DOMErrorImpl(short severity, String message, String type) | |
| DOMErrorImpl | back to summary |
|---|---|
| pack-priv DOMErrorImpl(short severity, String message, String type, Exception exception) | |
| DOMErrorImpl | back to summary |
|---|---|
| pack-priv DOMErrorImpl(short severity, String message, String type, Exception exception, Object relatedData, DOMLocatorImpl location) | |
| getLocation | back to summary |
|---|---|
| public DOMLocator getLocation() Implements org. The location of the DOMError.
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Implements org. The DOMError message string.
| |
| getRelatedData | back to summary |
|---|---|
| public Object getRelatedData() Implements org. The related DOMError.type dependent data if any.
| |
| getRelatedException | back to summary |
|---|---|
| public Object getRelatedException() Implements org. The related platform dependent exception if any.
| |
| getSeverity | back to summary |
|---|---|
| public short getSeverity() Implements org. The severity of the error, either
| |
| getType | back to summary |
|---|---|
| public String getType() Implements org. Returns a String indicating which related data is expected in relatedData.
| |
| reset | back to summary |
|---|---|
| public void reset() | |