Class ResolverException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.exolab.castor.core.exceptions.CastorException
org.exolab.castor.xml.XMLException
org.exolab.castor.xml.ResolverException
- All Implemented Interfaces:
Serializable
The exception class thrown by the ClassDescriptorResolver
- Version:
- $Revision: 8870 $ $Date: $
- Author:
- Keith Visco
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newResolverExceptionwith no message or nested exception.ResolverException(String message) Creates a newResolverExceptionwith the given message.ResolverException(String message, int errorCode) Deprecated.ResolverException(String message, Throwable exception) Creates a newResolverExceptionwith the given message and nested exception.ResolverException(String message, Throwable exception, int errorCode) Deprecated.ResolverException(Throwable exception) Creates a newResolverExceptionwith 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
-
ResolverException
public ResolverException()Creates a newResolverExceptionwith no message or nested exception. -
ResolverException
Creates a newResolverExceptionwith the given message.- Parameters:
message- the message for this exception.
-
ResolverException
Creates a newResolverExceptionwith the given nested exception.- Parameters:
exception- the nested exception
-
ResolverException
Deprecated.Creates a newResolverExceptionwith the given message and error code.- Parameters:
message- the message for this exception.errorCode- the error code for this exception.
-
ResolverException
Creates a newResolverExceptionwith the given message and nested exception.- Parameters:
message- the message for this exception.exception- the nested exception.
-
ResolverException
Deprecated.Creates a newResolverExceptionwith the given message, nested exception, and error code.- Parameters:
message- the message for this exception.exception- the nested exception.errorCode- the error code for this exception.
-