textbender.g.xml.dom
Class DOMErrorWrapper
java.lang.Object
DOMErrorWrapper
- All Implemented Interfaces:
- DOMError
public abstract class DOMErrorWrapper
- extends Object
- implements DOMError
DOM error wrapper that passes calls to an underlying error instance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
error
protected final DOMError error
DOMErrorWrapper
protected DOMErrorWrapper(DOMError error)
- Creates a DOMErrorWrapper.
- Parameters:
error
- underlying instance
getLocation
public DOMLocator getLocation()
- Specified by:
getLocation
in interface DOMError
getMessage
public String getMessage()
- Specified by:
getMessage
in interface DOMError
getRelatedData
public Object getRelatedData()
- Specified by:
getRelatedData
in interface DOMError
getRelatedException
public Object getRelatedException()
- Specified by:
getRelatedException
in interface DOMError
getSeverity
public short getSeverity()
- Specified by:
getSeverity
in interface DOMError
getType
public String getType()
- Specified by:
getType
in interface DOMError