|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.serializer.dom3.DOMErrorImpl
final class DOMErrorImpl
Implementation of the DOM Level 3 DOMError interface.
See also the DOMError Interface definition from Document Object Model (DOM) Level 3 Core Specification.
Field Summary | |
---|---|
private java.lang.Exception |
fException
|
private DOMLocatorImpl |
fLocation
|
private java.lang.String |
fMessage
|
private java.lang.Object |
fRelatedData
|
private short |
fSeverity
private data members |
private java.lang.String |
fType
|
Fields inherited from interface org.w3c.dom.DOMError |
---|
SEVERITY_ERROR, SEVERITY_FATAL_ERROR, SEVERITY_WARNING |
Constructor Summary | |
---|---|
DOMErrorImpl()
Default constructor. |
|
DOMErrorImpl(short severity,
java.lang.String message,
java.lang.String type)
|
|
DOMErrorImpl(short severity,
java.lang.String message,
java.lang.String type,
java.lang.Exception exception)
|
|
DOMErrorImpl(short severity,
java.lang.String message,
java.lang.String type,
java.lang.Exception exception,
java.lang.Object relatedData,
DOMLocatorImpl location)
|
Method Summary | |
---|---|
org.w3c.dom.DOMLocator |
getLocation()
The location of the DOMError. |
java.lang.String |
getMessage()
The DOMError message string. |
java.lang.Object |
getRelatedData()
The related DOMError.type dependent data if any. |
java.lang.Object |
getRelatedException()
The related platform dependent exception if any. |
short |
getSeverity()
The severity of the error, either SEVERITY_WARNING ,
SEVERITY_ERROR , or SEVERITY_FATAL_ERROR . |
java.lang.String |
getType()
Returns a String indicating which related data is expected in relatedData. |
void |
reset()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private short fSeverity
private java.lang.String fMessage
private java.lang.String fType
private java.lang.Exception fException
private java.lang.Object fRelatedData
private DOMLocatorImpl fLocation
Constructor Detail |
---|
DOMErrorImpl()
DOMErrorImpl(short severity, java.lang.String message, java.lang.String type)
severity
- message
- type
- DOMErrorImpl(short severity, java.lang.String message, java.lang.String type, java.lang.Exception exception)
severity
- message
- type
- exception
- DOMErrorImpl(short severity, java.lang.String message, java.lang.String type, java.lang.Exception exception, java.lang.Object relatedData, DOMLocatorImpl location)
severity
- message
- type
- exception
- relatedData
- location
- Method Detail |
---|
public short getSeverity()
SEVERITY_WARNING
,
SEVERITY_ERROR
, or SEVERITY_FATAL_ERROR
.
getSeverity
in interface org.w3c.dom.DOMError
public java.lang.String getMessage()
getMessage
in interface org.w3c.dom.DOMError
public org.w3c.dom.DOMLocator getLocation()
getLocation
in interface org.w3c.dom.DOMError
public java.lang.Object getRelatedException()
getRelatedException
in interface org.w3c.dom.DOMError
public java.lang.String getType()
getType
in interface org.w3c.dom.DOMError
public java.lang.Object getRelatedData()
getRelatedData
in interface org.w3c.dom.DOMError
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |