Parser or write operations may throw an
LSException if the
processing is stopped. The processing can be stopped due to a
DOMError with a severity of
DOMError.SEVERITY_FATAL_ERROR or a non recovered
DOMError.SEVERITY_ERROR, or if
Note: As suggested in the definition of the constants in the
DOMError interface, a DOM implementation may choose to
continue after a fatal error, but the resulting DOM tree is then
|short||PARSE_ERR||If an attempt was made to load a document, or an XML Fragment, using
|short||SERIALIZE_ERR||If an attempt was made to serialize a
Public Constructor Summary
Inherited Method Summary
|synchronized final void|
Fills in the execution stack trace.
Returns the cause of this throwable or
Creates a localized description of this throwable.
Returns the detail message string of this throwable.
|synchronized final Throwable||
Returns an array containing all of the exceptions that were suppressed, typically by the
Prints this throwable and its backtrace to the standard error stream.
Returns a short description of this throwable.
Creates and returns a copy of this
Invoked when the garbage collector has detected that this instance is no longer reachable.
Returns an integer hash code for this object.
Causes a thread which is waiting on this object's monitor (by means of calling one of the
Causes all threads which are waiting on this object's monitor (by means of calling one of the
Returns a string containing a concise, human-readable description of this object.
wait(long timeout, int nanos)
Causes the calling thread to wait until another thread calls the
public static final short PARSE_ERR
If an attempt was made to load a document, or an XML Fragment, using
LSParser and the processing has been stopped.
public static final short SERIALIZE_ERR
If an attempt was made to serialize a
LSSerializer and the processing has been stopped.
public short code
public LSException (short code, String message)