protected class AbstractDocument.DocumentError extends Object implements DOMError
Modifier and Type | Class and Description |
---|---|
protected 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 DOMError
public String getMessage()
getMessage
in interface DOMError
public Object getRelatedData()
getRelatedData
in interface DOMError
public Object getRelatedException()
getRelatedException
in interface DOMError
public DOMLocator getLocation()
getLocation
in interface DOMError
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.