protected static class AbstractDocument.DocumentError extends Object implements DOMError
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractDocument.DocumentError.ErrorLocation
The DOMLocator implementation.
|
| Modifier and Type | Field and Description |
|---|---|
protected DOMLocator |
domLocator
The DOMLocator for this error.
|
protected String |
message
The error message.
|
protected Object |
relatedException
The exception which cuased this error.
|
protected Node |
relatedNode
The error related data.
|
protected short |
severity
The error severity.
|
protected String |
type
The error type.
|
SEVERITY_ERROR, SEVERITY_FATAL_ERROR, SEVERITY_WARNING| Constructor and Description |
|---|
DocumentError(String type,
short severity,
String message,
Node relatedNode,
Exception relatedException)
Creates a new DocumentError object.
|
| Modifier and Type | Method and Description |
|---|---|
DOMLocator |
getLocation() |
String |
getMessage() |
Object |
getRelatedData() |
Object |
getRelatedException() |
short |
getSeverity() |
String |
getType() |
protected String type
protected short severity
protected String message
protected Node relatedNode
protected Object relatedException
protected DOMLocator domLocator
public short getSeverity()
getSeverity in interface DOMErrorpublic String getMessage()
getMessage in interface DOMErrorpublic Object getRelatedData()
getRelatedData in interface DOMErrorpublic Object getRelatedException()
getRelatedException in interface DOMErrorpublic DOMLocator getLocation()
getLocation in interface DOMErrorCopyright © 2000–2020 Apache Software Foundation. All rights reserved.