org.apache.xerces.dom
Class DOMErrorImpl
java.lang.Object
org.apache.xerces.dom.DOMErrorImpl
- DOMError
public class DOMErrorImpl
extends java.lang.Object
implements DOMError
DOMErrorImpl
is 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.
$Id: DOMErrorImpl.java,v 1.14 2005/05/02 22:02:22 mrglavas Exp $- Gopal Sharma, SUN Microsystems Inc.
- Elena Litani, IBM
DOMErrorImpl() - Default constructor.
|
DOMErrorImpl(short severity, org.apache.xerces.xni.parser.XMLParseException exception) - Exctracts information from XMLParserException)
|
DOMLocator | getLocation() - The location of the error.
|
String | getMessage() - An implementation specific string describing the error that occured.
|
Object | getRelatedData()
|
Object | getRelatedException() - The related platform dependent exception if any.exception is a reserved
word, we need to rename it.Change to "relatedException".
|
short | getSeverity() - The severity of the error, either
SEVERITY_WARNING ,
SEVERITY_ERROR , or SEVERITY_FATAL_ERROR .
|
String | getType()
|
void | reset()
|
fException
public Exception fException
fMessage
public String fMessage
fRelatedData
public Object fRelatedData
fSeverity
public short fSeverity
DOMErrorImpl
public DOMErrorImpl()
Default constructor.
DOMErrorImpl
public DOMErrorImpl(short severity,
org.apache.xerces.xni.parser.XMLParseException exception)
Exctracts information from XMLParserException)
getLocation
public DOMLocator getLocation()
The location of the error.
getMessage
public String getMessage()
An implementation specific string describing the error that occured.
getRelatedData
public Object getRelatedData()
getRelatedException
public 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)
getSeverity
public short getSeverity()
The severity of the error, either SEVERITY_WARNING
,
SEVERITY_ERROR
, or SEVERITY_FATAL_ERROR
.
getType
public String getType()
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.