org.apache.xerces.dom3.as
Class DOMASException
RuntimeException
org.apache.xerces.dom3.as.DOMASException
public class DOMASException
extends RuntimeException
static short | DUPLICATE_NAME_ERR - If an element declaration already exists with the same name within an
AS_CHOICE operator.
|
static short | NO_AS_AVAILABLE - 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 - If the type of the
ASObject is neither an
ASContentModel nor an ASElementDeclaration .
|
static short | WRONG_MIME_TYPE_ERR - When
mimeTypeCheck is true and the input
source has an incorrect MIME Type.
|
short | code
|
DUPLICATE_NAME_ERR
public static final short DUPLICATE_NAME_ERR
If an element declaration already exists with the same name within an
AS_CHOICE
operator.
NO_AS_AVAILABLE
public static final short NO_AS_AVAILABLE
If the DocumentEditAS
related to the node does not have
any active ASModel
and wfValidityCheckLevel
is set to PARTIAL
or STRICT_VALIDITY_CHECK
.
TYPE_ERR
public static final short TYPE_ERR
If the type of the ASObject
is neither an
ASContentModel
nor an ASElementDeclaration
.
WRONG_MIME_TYPE_ERR
public static final short WRONG_MIME_TYPE_ERR
When mimeTypeCheck
is true
and the input
source has an incorrect MIME Type. See the attribute
mimeTypeCheck
.
DOMASException
public DOMASException(short code,
String message)
Copyright © 1999-2004 Apache XML Project. All Rights Reserved.