Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xerces.dom3.as
Class DOMASException

    java.lang.Object
      |
      +--java.lang.Throwable
            |
            +--java.lang.Exception
                  |
                  +--java.lang.RuntimeException
                        |
                        +--org.apache.xerces.dom3.as.DOMASException

All Implemented Interfaces:
  java.io.Serializable

public class DOMASException
extends java.lang.RuntimeException

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.

See Also:
  Serialized Form

Field Summary
`short` | `code`
`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.

Constructor Summary
`DOMASException(short code, java.lang.String message)`

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### code

    public 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.

### TYPE_ERR

    public static final short TYPE_ERR

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

### 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`.

### 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`.

Constructor Detail

### DOMASException

    public DOMASException(short code,
                          java.lang.String message)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999-2003 Apache XML Project. All Rights Reserved.