public class

DOMASException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.apache.xerces.dom3.as.DOMASException

This class is 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.

Summary

Constants
short DUPLICATE_NAME_ERR If an element declaration already exists with the same name within an AS_CHOICE operator.
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.
short TYPE_ERR If the type of the ASObject is neither an ASContentModel nor an ASElementDeclaration.
short WRONG_MIME_TYPE_ERR When mimeTypeCheck is true and the input source has an incorrect MIME Type.
Fields
public short code
Public Constructors
DOMASException(short code, String message)
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Constants

public static final short DUPLICATE_NAME_ERR

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

Constant Value: 1 (0x00000001)

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.

Constant Value: 3 (0x00000003)

public static final short TYPE_ERR

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

Constant Value: 2 (0x00000002)

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.

Constant Value: 4 (0x00000004)

Fields

public short code

Public Constructors

public DOMASException (short code, String message)