com.opensymphony.module.sitemesh.factory
Class FactoryException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.opensymphony.module.sitemesh.factory.FactoryException
All Implemented Interfaces:
Serializable

public class FactoryException
extends RuntimeException

This RuntimeException is thrown by the Factory if it cannot initialize or perform an appropriate function.

Version:
$Revision: 1.1 $
Author:
Joe Walnes
See Also:
Serialized Form

Field Summary
protected  Exception exception
           
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
FactoryException()
           
FactoryException(Exception e)
           
FactoryException(String msg)
           
FactoryException(String msg, Exception e)
           
 
Method Summary
 Exception getRootCause()
          Get the original cause of the Exception.
 void printStackTrace()
           
 void printStackTrace(PrintStream s)
           
 void printStackTrace(PrintWriter s)
           
 
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
 

Field Detail

exception

protected Exception exception
Constructor Detail

FactoryException

public FactoryException()

FactoryException

public FactoryException(String msg)

FactoryException

public FactoryException(Exception e)

FactoryException

public FactoryException(String msg,
                        Exception e)
Method Detail

getRootCause

public Exception getRootCause()
Get the original cause of the Exception. Returns null if not known.


printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(PrintStream s)

printStackTrace

public void printStackTrace(PrintWriter s)

www.opensymphony.com/sitemesh/