DOMSystemException
as
described in their descriptions.
See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load and Save Specification.
public class DOMASException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
short |
code
Deprecated.
|
static short |
DUPLICATE_NAME_ERR
Deprecated.
If an element declaration already exists with the same name within an
AS_CHOICE operator. |
static short |
NO_AS_AVAILABLE
Deprecated.
If the
DocumentEditAS related to the node does not have
any active ASModel and wfValidityCheckLevel
is set to PARTIAL or STRICT_VALIDITY_CHECK . |
static short |
TYPE_ERR
Deprecated.
If the type of the
ASObject is neither an
ASContentModel nor an ASElementDeclaration . |
static short |
WRONG_MIME_TYPE_ERR
Deprecated.
When
mimeTypeCheck is true and the input
source has an incorrect MIME Type. |
Constructor and Description |
---|
DOMASException(short code,
String message)
Deprecated.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public short code
public static final short DUPLICATE_NAME_ERR
AS_CHOICE
operator.public static final short TYPE_ERR
ASObject
is neither an
ASContentModel
nor an ASElementDeclaration
.public static final short NO_AS_AVAILABLE
DocumentEditAS
related to the node does not have
any active ASModel
and wfValidityCheckLevel
is set to PARTIAL
or STRICT_VALIDITY_CHECK
.public static final short WRONG_MIME_TYPE_ERR
mimeTypeCheck
is true
and the input
source has an incorrect MIME Type. See the attribute
mimeTypeCheck
.public DOMASException(short code, String message)
Copyright © 2018 JBoss by Red Hat. All rights reserved.