Package org.apache.xmlbeans
Class SchemaTypeLoaderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.xmlbeans.XmlRuntimeException
org.apache.xmlbeans.SchemaTypeLoaderException
- All Implemented Interfaces:
Serializable
public class SchemaTypeLoaderException extends XmlRuntimeException
An exception that is thrown if there is corruption or a version mismatch
in a compiled schema type system.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static int
BAD_HANDLE
static int
BAD_PARTICLE_TYPE
static int
INT_TOO_LARGE
static int
IO_EXCEPTION
static int
MALFORMED_CONTENT_MODEL
static int
NESTED_EXCEPTION
static int
NO_RESOURCE
static int
NOT_WRITEABLE
static int
UNRECOGNIZED_INDEX_ENTRY
static int
WRONG_FILE_TYPE
static int
WRONG_MAGIC_COOKIE
static int
WRONG_MAJOR_VERSION
static int
WRONG_MINOR_VERSION
static int
WRONG_PROPERTY_TYPE
static int
WRONG_SIMPLE_VARIETY
-
Constructor Summary
Constructors Constructor Description SchemaTypeLoaderException(String message, String name, String handle, int code)
Constructs an exception with the given message, filename, extension, and codeSchemaTypeLoaderException(String message, String name, String handle, int code, Exception cause)
Constructs an exception with the given message, filename, extension, code, and cause -
Method Summary
Modifier and Type Method Description int
getCode()
Returns the reason for the failure, given by one of the numeric constants in this classMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
NO_RESOURCE
public static final int NO_RESOURCE- See Also:
- Constant Field Values
-
WRONG_MAGIC_COOKIE
public static final int WRONG_MAGIC_COOKIE- See Also:
- Constant Field Values
-
WRONG_MAJOR_VERSION
public static final int WRONG_MAJOR_VERSION- See Also:
- Constant Field Values
-
WRONG_MINOR_VERSION
public static final int WRONG_MINOR_VERSION- See Also:
- Constant Field Values
-
WRONG_FILE_TYPE
public static final int WRONG_FILE_TYPE- See Also:
- Constant Field Values
-
UNRECOGNIZED_INDEX_ENTRY
public static final int UNRECOGNIZED_INDEX_ENTRY- See Also:
- Constant Field Values
-
WRONG_PROPERTY_TYPE
public static final int WRONG_PROPERTY_TYPE- See Also:
- Constant Field Values
-
MALFORMED_CONTENT_MODEL
public static final int MALFORMED_CONTENT_MODEL- See Also:
- Constant Field Values
-
WRONG_SIMPLE_VARIETY
public static final int WRONG_SIMPLE_VARIETY- See Also:
- Constant Field Values
-
IO_EXCEPTION
public static final int IO_EXCEPTION- See Also:
- Constant Field Values
-
INT_TOO_LARGE
public static final int INT_TOO_LARGE- See Also:
- Constant Field Values
-
BAD_PARTICLE_TYPE
public static final int BAD_PARTICLE_TYPE- See Also:
- Constant Field Values
-
NOT_WRITEABLE
public static final int NOT_WRITEABLE- See Also:
- Constant Field Values
-
BAD_HANDLE
public static final int BAD_HANDLE- See Also:
- Constant Field Values
-
NESTED_EXCEPTION
public static final int NESTED_EXCEPTION- See Also:
- Constant Field Values
-
-
Constructor Details
-
SchemaTypeLoaderException
Constructs an exception with the given message, filename, extension, and code -
SchemaTypeLoaderException
public SchemaTypeLoaderException(String message, String name, String handle, int code, Exception cause)Constructs an exception with the given message, filename, extension, code, and cause
-
-
Method Details
-
getCode
public int getCode()Returns the reason for the failure, given by one of the numeric constants in this class
-