org.exolab.castor.xml.schema
Class SimpleTypesFactoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.exolab.castor.xml.schema.SimpleTypesFactoryException
All Implemented Interfaces:
java.io.Serializable

 class SimpleTypesFactoryException
extends java.lang.RuntimeException

A RuntimeException which allows nested exceptions.

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:35 $
Author:
Assaf Arkin, Keith Visco

Constructor Summary
SimpleTypesFactoryException(java.lang.String message)
          Creates a new SimpleTypesFactoryException
SimpleTypesFactoryException(java.lang.Throwable exception)
          Creates a new SimpleTypesFactoryException
SimpleTypesFactoryException(java.lang.Throwable exception, java.lang.String message)
          Creates a new SimpleTypesFactoryException
 
Method Summary
 java.lang.Throwable getException()
          Returns the Exception which caused this Exception, or null if no nested exception exists.
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream print)
           
 void printStackTrace(java.io.PrintWriter print)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleTypesFactoryException

public SimpleTypesFactoryException(java.lang.String message)
Creates a new SimpleTypesFactoryException

Parameters:
message - the error message

SimpleTypesFactoryException

public SimpleTypesFactoryException(java.lang.Throwable exception)
Creates a new SimpleTypesFactoryException

Parameters:
exception - the Exception which caused this Exception.

SimpleTypesFactoryException

public SimpleTypesFactoryException(java.lang.Throwable exception,
                                   java.lang.String message)
Creates a new SimpleTypesFactoryException

Parameters:
exception - the Exception which caused this Exception.
message - the error message
Method Detail

getException

public java.lang.Throwable 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 class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream print)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter print)
Overrides:
printStackTrace in class java.lang.Throwable


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com