Package org.apache.batik.dom
Class AbstractDocument.DocumentError
java.lang.Object
org.apache.batik.dom.AbstractDocument.DocumentError
- All Implemented Interfaces:
DOMError
- Enclosing class:
AbstractDocument
DOMError implementation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
The DOMLocator implementation. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DOMLocator
The DOMLocator for this error.protected String
The error message.protected Object
The exception which cuased this error.protected Node
The error related data.protected short
The error severity.protected String
The error type.Fields inherited from interface org.w3c.dom.DOMError
SEVERITY_ERROR, SEVERITY_FATAL_ERROR, SEVERITY_WARNING
-
Constructor Summary
ConstructorsConstructorDescriptionDocumentError
(String type, short severity, String message, Node relatedNode, Exception relatedException) Creates a new DocumentError object. -
Method Summary
-
Field Details
-
type
The error type. -
severity
protected short severityThe error severity. -
message
The error message. -
domLocator
The DOMLocator for this error.
-
-
Constructor Details
-
Method Details
-
getType
-
getSeverity
public short getSeverity()- Specified by:
getSeverity
in interfaceDOMError
-
getMessage
- Specified by:
getMessage
in interfaceDOMError
-
getRelatedData
- Specified by:
getRelatedData
in interfaceDOMError
-
getRelatedException
- Specified by:
getRelatedException
in interfaceDOMError
-
getLocation
- Specified by:
getLocation
in interfaceDOMError
-