Top Fields Constructors
org.apache.xerces.dom3.as

public Class DOMASException

extends RuntimeException
Class Inheritance

Deprecated

Abstract Schemas operations may throw a DOMSystemException as described in their descriptions.

See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load and Save Specification.

Field Summary

Modifier and TypeField and Description
public short
public static final short
DUPLICATE_NAME_ERR

If an element declaration already exists with the same name within an AS_CHOICE operator.

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.

public static final short
TYPE_ERR

If the type of the ASObject is neither an ASContentModel nor an ASElementDeclaration.

public static final short
WRONG_MIME_TYPE_ERR

When mimeTypeCheck is true and the input source has an incorrect MIME Type.

Constructor Summary

AccessConstructor and Description
public
DOMASException(short code, String message)

Field Detail

codeback to summary
public short code
DUPLICATE_NAME_ERRback to summary
public static final short DUPLICATE_NAME_ERR

If an element declaration already exists with the same name within an AS_CHOICE operator.

NO_AS_AVAILABLEback to summary
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_ERRback to summary
public static final short TYPE_ERR

If the type of the ASObject is neither an ASContentModel nor an ASElementDeclaration.

WRONG_MIME_TYPE_ERRback to summary
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.

Constructor Detail

DOMASExceptionback to summary
public DOMASException(short code, String message)