protected class AbstractDocument.DocumentError
extends java.lang.Object
implements org.w3c.dom.DOMError
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractDocument.DocumentError.ErrorLocation
The DOMLocator implementation.
|
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.DOMLocator |
domLocator
The DOMLocator for this error.
|
protected java.lang.String |
message
The error message.
|
protected java.lang.Object |
relatedException
The exception which cuased this error.
|
protected org.w3c.dom.Node |
relatedNode
The error related data.
|
protected short |
severity
The error severity.
|
protected java.lang.String |
type
The error type.
|
Constructor and Description |
---|
DocumentError(java.lang.String type,
short severity,
java.lang.String message,
org.w3c.dom.Node relatedNode,
java.lang.Exception relatedException)
Creates a new DocumentError object.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.DOMLocator |
getLocation() |
java.lang.String |
getMessage() |
java.lang.Object |
getRelatedData() |
java.lang.Object |
getRelatedException() |
short |
getSeverity() |
java.lang.String |
getType() |
protected java.lang.String type
protected short severity
protected java.lang.String message
protected org.w3c.dom.Node relatedNode
protected java.lang.Object relatedException
protected org.w3c.dom.DOMLocator domLocator
public DocumentError(java.lang.String type, short severity, java.lang.String message, org.w3c.dom.Node relatedNode, java.lang.Exception relatedException)
public java.lang.String getType()
getType
in interface org.w3c.dom.DOMError
public short getSeverity()
getSeverity
in interface org.w3c.dom.DOMError
public java.lang.String getMessage()
getMessage
in interface org.w3c.dom.DOMError
public java.lang.Object getRelatedData()
getRelatedData
in interface org.w3c.dom.DOMError
public java.lang.Object getRelatedException()
getRelatedException
in interface org.w3c.dom.DOMError
public org.w3c.dom.DOMLocator getLocation()
getLocation
in interface org.w3c.dom.DOMError