SchemaTypeLoaderException Class
com.bea.xml
SchemaTypeLoaderException Class
- public class SchemaTypeLoaderException
extends XmlRuntimeException
An exception that is thrown if there is corruption or a version mismatch
in a compiled schema type system.
-
Hierarchy
-
Object
Throwable
Exception
RuntimeException
XmlRuntimeException
SchemaTypeLoaderException
-
All Implemented Interfaces
-
Serializable
-
SchemaTypeLoaderException(
String message, String name, String handle, int code, Exception cause)
- Constructs an exception with the given message, filename, extension, code, and cause
|
-
SchemaTypeLoaderException(
String message, String name, String handle, int code)
- Constructs an exception with the given message, filename, extension, and code
|
public int |
-
getCode ()
- Returns the reason for the failure, given by one of the numeric constants in this class
|
Methods from java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BAD_HANDLE
public static final int BAD_HANDLE
BAD_PARTICLE_TYPE
public static final int BAD_PARTICLE_TYPE
INT_TOO_LARGE
public static final int INT_TOO_LARGE
IO_EXCEPTION
public static final int IO_EXCEPTION
MALFORMED_CONTENT_MODEL
public static final int MALFORMED_CONTENT_MODEL
NESTED_EXCEPTION
public static final int NESTED_EXCEPTION
NO_RESOURCE
public static final int NO_RESOURCE
NOT_WRITEABLE
public static final int NOT_WRITEABLE
UNRECOGNIZED_INDEX_ENTRY
public static final int UNRECOGNIZED_INDEX_ENTRY
WRONG_FILE_TYPE
public static final int WRONG_FILE_TYPE
WRONG_MAGIC_COOKIE
public static final int WRONG_MAGIC_COOKIE
WRONG_MAJOR_VERSION
public static final int WRONG_MAJOR_VERSION
WRONG_MINOR_VERSION
public static final int WRONG_MINOR_VERSION
WRONG_PROPERTY_TYPE
public static final int WRONG_PROPERTY_TYPE
WRONG_SIMPLE_VARIETY
public static final int WRONG_SIMPLE_VARIETY
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
SchemaTypeLoaderException
public SchemaTypeLoaderException(String
message,
String
name,
String
handle,
int code)
- Constructs an exception with the given message, filename, extension, and code
getCode() Method
public int getCode()
Returns the reason for the failure, given by one of the numeric constants in this class