Class SchemaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.exolab.castor.core.exceptions.CastorException
org.exolab.castor.xml.XMLException
org.exolab.castor.xml.schema.SchemaException
- All Implemented Interfaces:
Serializable
An XML Schema Exception class
- Version:
- $Revision: 8870 $ $Date: 2006-04-14 04:14:43 -0600 (Fri, 14 Apr 2006) $
- Author:
- Keith Visco
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newSchemaExceptionwith no message or nested exception.SchemaException(String message) Creates a newSchemaExceptionwith the given message.SchemaException(String message, Throwable exception) Creates a newSchemaExceptionwith the given message and nested exception.SchemaException(Throwable exception) Creates a newSchemaExceptionwith the given nested exception. -
Method Summary
Methods inherited from class XMLException
getErrorCode, setErrorCode, setLocation, toStringModifier and TypeMethodDescriptionintReturns the error code for this Exception, or -1 if no error code exists.voidsetErrorCode(int errorCode) Sets the error code for this Exception.voidsetLocation(Location location) Sets the location information for this Exception.toString()Returns the String representation of this Exception.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
SchemaException
public SchemaException()Creates a newSchemaExceptionwith no message or nested exception. -
SchemaException
Creates a newSchemaExceptionwith the given message.- Parameters:
message- the message for this exception
-
SchemaException
Creates a newSchemaExceptionwith the given nested exception.- Parameters:
exception- the nested exception
-
SchemaException
Creates a newSchemaExceptionwith the given message and nested exception.- Parameters:
message- the detail message for this exceptionexception- the nested exception
-