|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
DOMError
is an interface that describes an error.
See also the Document Object Model (DOM) Level 3 Core Specification.
Field Summary | |
static short |
SEVERITY_ERROR
The severity of the error described by the DOMError is
error |
static short |
SEVERITY_FATAL_ERROR
The severity of the error described by the DOMError is
fatal error |
static short |
SEVERITY_WARNING
The severity of the error described by the DOMError is
warning |
Method Summary | |
java.lang.Object |
getException()
The byte or character offset into the input source, if we're parsing a file or a byte stream then this will be the byte offset into that stream, but if a character media is parsed then the offset will be the character offset.exception is a reserved word, we need to rename it. |
DOMLocator |
getLocation()
The location of the error. |
java.lang.String |
getMessage()
An implementation specific string describing the error that occured. |
short |
getSeverity()
The severity of the error, either SEVERITY_WARNING ,
SEVERITY_ERROR , or SEVERITY_FATAL_ERROR . |
Field Detail |
public static final short SEVERITY_WARNING
DOMError
is
warningpublic static final short SEVERITY_ERROR
DOMError
is
errorpublic static final short SEVERITY_FATAL_ERROR
DOMError
is
fatal errorMethod Detail |
public short getSeverity()
SEVERITY_WARNING
,
SEVERITY_ERROR
, or SEVERITY_FATAL_ERROR
.public java.lang.String getMessage()
public java.lang.Object getException()
public DOMLocator getLocation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |