com.opensymphony.module.sitemesh.factory
Class FactoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.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
           
 
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()
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream s)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter s)
Overrides:
printStackTrace in class Throwable

www.opensymphony.com/sitemesh/