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
An exception that is thrown if there is corruption or a version mismatch
in a compiled schema type system.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionSchemaTypeLoaderException(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 TypeMethodDescriptionintgetCode()Returns the reason for the failure, given by one of the numeric constants in this classMethods inherited from class org.apache.xmlbeans.XmlRuntimeException
getError, getErrorsMethods 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:
-
WRONG_MAGIC_COOKIE
public static final int WRONG_MAGIC_COOKIE- See Also:
-
WRONG_MAJOR_VERSION
public static final int WRONG_MAJOR_VERSION- See Also:
-
WRONG_MINOR_VERSION
public static final int WRONG_MINOR_VERSION- See Also:
-
WRONG_FILE_TYPE
public static final int WRONG_FILE_TYPE- See Also:
-
UNRECOGNIZED_INDEX_ENTRY
public static final int UNRECOGNIZED_INDEX_ENTRY- See Also:
-
WRONG_PROPERTY_TYPE
public static final int WRONG_PROPERTY_TYPE- See Also:
-
MALFORMED_CONTENT_MODEL
public static final int MALFORMED_CONTENT_MODEL- See Also:
-
WRONG_SIMPLE_VARIETY
public static final int WRONG_SIMPLE_VARIETY- See Also:
-
IO_EXCEPTION
public static final int IO_EXCEPTION- See Also:
-
INT_TOO_LARGE
public static final int INT_TOO_LARGE- See Also:
-
BAD_PARTICLE_TYPE
public static final int BAD_PARTICLE_TYPE- See Also:
-
NOT_WRITEABLE
public static final int NOT_WRITEABLE- See Also:
-
BAD_HANDLE
public static final int BAD_HANDLE- See Also:
-
NESTED_EXCEPTION
public static final int NESTED_EXCEPTION- See Also:
-
-
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
-