DOMErrorImpl is an implementation that describes an errorNote
The error object that describes the error might be reused by Xerces implementation, across multiple calls to the handleEvent method on DOMErrorHandler interface.
See also the Document Object Model (DOM) Level 3 Core Specification.
| Modifier and Type | Field and Description |
|---|---|
| public Exception | |
| public DOMLocatorImpl | |
| public String | |
| public Object | |
| public short | |
| public String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | DOMErrorImpl(short severity, XMLParseException exception)
Exctracts information from XMLParserException) |
| Modifier and Type | Method and Description |
|---|---|
| private DOMLocatorImpl | |
| public DOMLocator | |
| public String | getMessage()
Implements org. |
| public Object | getRelatedData()
Implements org. DOMError.type dependent data if any.
|
| public Object | getRelatedException()
Implements org. |
| public short | getSeverity()
Implements org. SEVERITY_WARNING,
SEVERITY_ERROR, or SEVERITY_FATAL_ERROR.
|
| public String | getType()
Implements org. DOMString indicating which related data is expected in
relatedData.
|
| public void |
| fException | back to summary |
|---|---|
| public Exception fException | |
| fLocator | back to summary |
|---|---|
| public DOMLocatorImpl fLocator | |
| fMessage | back to summary |
|---|---|
| public String fMessage | |
| fRelatedData | back to summary |
|---|---|
| public Object fRelatedData | |
| fSeverity | back to summary |
|---|---|
| public short fSeverity | |
| fType | back to summary |
|---|---|
| public String fType | |
| DOMErrorImpl | back to summary |
|---|---|
| public DOMErrorImpl() Default constructor. | |
| DOMErrorImpl | back to summary |
|---|---|
| public DOMErrorImpl(short severity, XMLParseException exception) Exctracts information from XMLParserException) | |
| createDOMLocator | back to summary |
|---|---|
| private DOMLocatorImpl createDOMLocator(XMLParseException exception) | |
| getLocation | back to summary |
|---|---|
| public DOMLocator getLocation() Implements org. The location of the error. | |
| getMessage | back to summary |
|---|---|
| public String getMessage() Implements org. An implementation specific string describing the error that occured. | |
| getRelatedData | back to summary |
|---|---|
| public Object getRelatedData() Implements org. Doc from org. The related | |
| getRelatedException | back to summary |
|---|---|
| public Object getRelatedException() Implements org. The related platform dependent exception if any.exception is a reserved word, we need to rename it.Change to "relatedException". (F2F 26 Sep 2001) | |
| getSeverity | back to summary |
|---|---|
| public short getSeverity() Implements org. The severity of the error, either | |
| getType | back to summary |
|---|---|
| public String getType() Implements org. Doc from org. A Note As an example,
| |
| reset | back to summary |
|---|---|
| public void reset() | |