org.w3c.dom.DOMErrorprotected class AbstractDocument.DocumentError
extends java.lang.Object
implements org.w3c.dom.DOMError
| Modifier and Type | Class | Description |
|---|---|---|
protected class |
AbstractDocument.DocumentError.ErrorLocation |
The DOMLocator implementation.
|
| Modifier and Type | Field | 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 | 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 | 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.DOMErrorpublic short getSeverity()
getSeverity in interface org.w3c.dom.DOMErrorpublic java.lang.String getMessage()
getMessage in interface org.w3c.dom.DOMErrorpublic java.lang.Object getRelatedData()
getRelatedData in interface org.w3c.dom.DOMErrorpublic java.lang.Object getRelatedException()
getRelatedException in interface org.w3c.dom.DOMErrorpublic org.w3c.dom.DOMLocator getLocation()
getLocation in interface org.w3c.dom.DOMErrorCopyright ? 2018 Apache Software Foundation. All Rights Reserved.