public class LSException extends RuntimeException
LSExceptionif the processing is stopped. The processing can be stopped due to a
DOMErrorwith a severity of
DOMError.SEVERITY_FATAL_ERRORor 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
|Modifier and Type||Field and Description|
If an attempt was made to load a document, or an XML Fragment, using
If an attempt was made to serialize a
|Constructor and Description|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public short code
public static final short PARSE_ERR
LSParserand the processing has been stopped.
public static final short SERIALIZE_ERR
LSSerializerand the processing has been stopped.
public LSException(short code, String message)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.