org.apache.batik.dom

Class AbstractDocument.DocumentError

protected class AbstractDocument.DocumentError extends Object implements DOMError

DOMError implementation.
Nested Class Summary
protected classAbstractDocument.DocumentError.ErrorLocation
The DOMLocator implementation.
Field Summary
protected DOMLocatordomLocator
The DOMLocator for this error.
protected Stringmessage
The error message.
protected ObjectrelatedException
The exception which cuased this error.
protected NoderelatedNode
The error related data.
protected shortseverity
The error severity.
protected Stringtype
The error type.
Constructor Summary
DocumentError(String type, short severity, String message, Node relatedNode, Exception relatedException)
Creates a new DocumentError object.
Method Summary
DOMLocatorgetLocation()
StringgetMessage()
ObjectgetRelatedData()
ObjectgetRelatedException()
shortgetSeverity()
StringgetType()

Field Detail

domLocator

protected DOMLocator domLocator
The DOMLocator for this error.

message

protected String message
The error message.

relatedException

protected Object relatedException
The exception which cuased this error.

relatedNode

protected Node relatedNode
The error related data.

severity

protected short severity
The error severity.

type

protected String type
The error type.

Constructor Detail

DocumentError

public DocumentError(String type, short severity, String message, Node relatedNode, Exception relatedException)
Creates a new DocumentError object.

Method Detail

getLocation

public DOMLocator getLocation()

getMessage

public String getMessage()

getRelatedData

public Object getRelatedData()

getRelatedException

public Object getRelatedException()

getSeverity

public short getSeverity()

getType

public String getType()
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.