org.apache.xerces.dom3.as

Class DOMASException


public class DOMASException
extends RuntimeException

Field Summary

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

Constructor Summary

DOMASException(short code, String message)

Field Details

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.
Field Value:
1

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.
Field Value:
3

TYPE_ERR

public static final short TYPE_ERR
If the type of the ASObject is neither an ASContentModel nor an ASElementDeclaration.
Field Value:
2

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.
Field Value:
4

code

public short code

Constructor Details

DOMASException

public DOMASException(short code,
                      String message)

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