Class AbstractDocument.DocumentError
java.lang.Object
org.apache.batik.dom.AbstractDocument.DocumentError
- All Implemented Interfaces:
DOMError
- Enclosing class:
AbstractDocument
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classThe DOMLocator implementation. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DOMLocatorThe DOMLocator for this error.protected StringThe error message.protected ObjectThe exception which cuased this error.protected NodeThe error related data.protected shortThe error severity.protected StringThe error type.Fields inherited from interface 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
-
DocumentError
-
-
Method Details
-
getType
-
getSeverity
public short getSeverity()- Specified by:
getSeverityin interfaceDOMError
-
getMessage
- Specified by:
getMessagein interfaceDOMError
-
getRelatedData
- Specified by:
getRelatedDatain interfaceDOMError
-
getRelatedException
- Specified by:
getRelatedExceptionin interfaceDOMError
-
getLocation
- Specified by:
getLocationin interfaceDOMError
-