Package org.exolab.castor.xml.schema
Class SimpleTypesFactoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.exolab.castor.xml.schema.SimpleTypesFactoryException
- All Implemented Interfaces:
Serializable
A RuntimeException which allows nested exceptions.
- Version:
- $Revision: 8145 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
- Author:
- Assaf Arkin, Keith Visco
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleTypesFactoryException
(String message) Creates a new SimpleTypesFactoryException.SimpleTypesFactoryException
(Throwable exception) Creates a new SimpleTypesFactoryException.SimpleTypesFactoryException
(Throwable exception, String message) Creates a new SimpleTypesFactoryException. -
Method Summary
Modifier and TypeMethodDescriptionReturns the Exception which caused this Exception, or null if no nested exception exists.void
void
printStackTrace
(PrintStream print) void
printStackTrace
(PrintWriter print) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
SimpleTypesFactoryException
Creates a new SimpleTypesFactoryException.- Parameters:
message
- the error message
-
SimpleTypesFactoryException
Creates a new SimpleTypesFactoryException.- Parameters:
exception
- the Exception which caused this Exception.
-
SimpleTypesFactoryException
Creates a new SimpleTypesFactoryException.- Parameters:
exception
- the Exception which caused this Exception.message
- the error message
-
-
Method Details
-
getException
Returns the Exception which caused this Exception, or null if no nested exception exists.- Returns:
- the nested Exception.
-
printStackTrace
public void printStackTrace()- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
- Overrides:
printStackTrace
in classThrowable
-