All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.xerces.dom3.as.DOMASException Maven / Gradle / Ivy

There is a newer version: 6.2.20
Show newest version
/*
 * Copyright (c) 2001 World Wide Web Consortium,
 * (Massachusetts Institute of Technology, Institut National de
 * Recherche en Informatique et en Automatique, Keio University). All
 * Rights Reserved. This program is distributed under the W3C's Software
 * Intellectual Property License. This program is distributed in the
 * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 * PURPOSE.
 * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
 */

package org.apache.xerces.dom3.as;

/**
 * @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. */ public class DOMASException extends RuntimeException { public DOMASException(short code, String message) { super(message); this.code = code; } public short code; // ASExceptionCode /** * If an element declaration already exists with the same name within an * AS_CHOICE operator. */ public static final short DUPLICATE_NAME_ERR = 1; /** * If the type of the ASObject is neither an * ASContentModel nor an ASElementDeclaration. */ public static final short TYPE_ERR = 2; /** * 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 NO_AS_AVAILABLE = 3; /** * When mimeTypeCheck is true and the input * source has an incorrect MIME Type. See the attribute * mimeTypeCheck. */ public static final short WRONG_MIME_TYPE_ERR = 4; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy