Class DOMErrorImpl
- java.lang.Object
-
- org.apache.jackrabbit.vault.util.xml.xerces.dom.DOMErrorImpl
-
- All Implemented Interfaces:
org.w3c.dom.DOMError
public class DOMErrorImpl extends java.lang.Object implements org.w3c.dom.DOMErrorDOMErrorImplis an implementation that describes an error. Note: The error object that describes the error might be reused by Xerces implementation, across multiple calls to the handleEvent method on DOMErrorHandler interface.See also the Document Object Model (DOM) Level 3 Core Specification.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.ExceptionfExceptionDOMLocatorImplfLocatorjava.lang.StringfMessagejava.lang.ObjectfRelatedDatashortfSeverityjava.lang.StringfType
-
Constructor Summary
Constructors Constructor Description DOMErrorImpl()Default constructor.DOMErrorImpl(short severity, XMLParseException exception)Exctracts information from XMLParserException)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.DOMLocatorgetLocation()The location of the error.java.lang.StringgetMessage()An implementation specific string describing the error that occured.java.lang.ObjectgetRelatedData()java.lang.ObjectgetRelatedException()The related platform dependent exception if any.exception is a reserved word, we need to rename it.Change to "relatedException".shortgetSeverity()The severity of the error, eitherSEVERITY_WARNING,SEVERITY_ERROR, orSEVERITY_FATAL_ERROR.java.lang.StringgetType()voidreset()
-
-
-
Field Detail
-
fSeverity
public short fSeverity
-
fMessage
public java.lang.String fMessage
-
fLocator
public DOMLocatorImpl fLocator
-
fException
public java.lang.Exception fException
-
fType
public java.lang.String fType
-
fRelatedData
public java.lang.Object fRelatedData
-
-
Constructor Detail
-
DOMErrorImpl
public DOMErrorImpl()
Default constructor.
-
DOMErrorImpl
public DOMErrorImpl(short severity, XMLParseException exception)Exctracts information from XMLParserException)
-
-
Method Detail
-
getSeverity
public short getSeverity()
The severity of the error, eitherSEVERITY_WARNING,SEVERITY_ERROR, orSEVERITY_FATAL_ERROR.- Specified by:
getSeverityin interfaceorg.w3c.dom.DOMError
-
getMessage
public java.lang.String getMessage()
An implementation specific string describing the error that occured.- Specified by:
getMessagein interfaceorg.w3c.dom.DOMError
-
getLocation
public org.w3c.dom.DOMLocator getLocation()
The location of the error.- Specified by:
getLocationin interfaceorg.w3c.dom.DOMError
-
getRelatedException
public java.lang.Object getRelatedException()
The related platform dependent exception if any.exception is a reserved word, we need to rename it.Change to "relatedException". (F2F 26 Sep 2001)- Specified by:
getRelatedExceptionin interfaceorg.w3c.dom.DOMError
-
reset
public void reset()
-
getType
public java.lang.String getType()
- Specified by:
getTypein interfaceorg.w3c.dom.DOMError
-
getRelatedData
public java.lang.Object getRelatedData()
- Specified by:
getRelatedDatain interfaceorg.w3c.dom.DOMError
-
-