public class DOMErrorImpl
extends java.lang.Object
implements org.w3c.dom.DOMError
DOMErrorImpl is an implementation that describes an error.
Note: 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 |
|---|---|
java.lang.Exception |
fException |
DOMLocatorImpl |
fLocator |
java.lang.String |
fMessage |
java.lang.Object |
fRelatedData |
short |
fSeverity |
java.lang.String |
fType |
| Constructor and Description |
|---|
DOMErrorImpl()
Default constructor.
|
DOMErrorImpl(short severity,
XMLParseException exception)
Exctracts information from XMLParserException)
|
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.DOMLocator |
getLocation()
The location of the error.
|
java.lang.String |
getMessage()
An implementation specific string describing the error that occured.
|
java.lang.Object |
getRelatedData() |
java.lang.Object |
getRelatedException()
The related platform dependent exception if any.exception is a reserved
word, we need to rename it.Change to "relatedException".
|
short |
getSeverity()
The severity of the error, either
SEVERITY_WARNING,
SEVERITY_ERROR, or SEVERITY_FATAL_ERROR. |
java.lang.String |
getType() |
void |
reset() |
public short fSeverity
public java.lang.String fMessage
public DOMLocatorImpl fLocator
public java.lang.Exception fException
public java.lang.String fType
public java.lang.Object fRelatedData
public DOMErrorImpl()
public DOMErrorImpl(short severity,
XMLParseException exception)
public short getSeverity()
SEVERITY_WARNING,
SEVERITY_ERROR, or SEVERITY_FATAL_ERROR.getSeverity in interface org.w3c.dom.DOMErrorpublic java.lang.String getMessage()
getMessage in interface org.w3c.dom.DOMErrorpublic org.w3c.dom.DOMLocator getLocation()
getLocation in interface org.w3c.dom.DOMErrorpublic java.lang.Object getRelatedException()
getRelatedException in interface org.w3c.dom.DOMErrorpublic void reset()
public java.lang.String getType()
getType in interface org.w3c.dom.DOMErrorpublic java.lang.Object getRelatedData()
getRelatedData in interface org.w3c.dom.DOMErrorCopyright © 2010 - 2023 Adobe. All Rights Reserved