Class FactoryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.opensymphony.module.sitemesh.factory.FactoryException
-
- All Implemented Interfaces:
java.io.Serializable
public class FactoryException extends java.lang.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
Fields Modifier and Type Field Description protected java.lang.Exception
exception
-
Constructor Summary
Constructors Constructor Description FactoryException()
FactoryException(java.lang.Exception e)
FactoryException(java.lang.String msg)
FactoryException(java.lang.String msg, java.lang.Exception e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Exception
getRootCause()
Get the original cause of the Exception.void
printStackTrace()
void
printStackTrace(java.io.PrintStream s)
void
printStackTrace(java.io.PrintWriter s)
-
-
-
Method Detail
-
getRootCause
public java.lang.Exception getRootCause()
Get the original cause of the Exception. Returns null if not known.
-
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in classjava.lang.Throwable
-
printStackTrace
public void printStackTrace(java.io.PrintStream s)
- Overrides:
printStackTrace
in classjava.lang.Throwable
-
printStackTrace
public void printStackTrace(java.io.PrintWriter s)
- Overrides:
printStackTrace
in classjava.lang.Throwable
-
-