org.apache.tapestry
Class ApplicationRuntimeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--org.apache.tapestry.ApplicationRuntimeException
- All Implemented Interfaces:
- ILocatable, Serializable
- Direct Known Subclasses:
- BindingException, ConnectedParameterException, DocumentParseException, PageRedirectException, RedirectException, RenderRewoundException, StaleLinkException, StaleSessionException
- public class ApplicationRuntimeException
- extends RuntimeException
- implements ILocatable
General wrapper for any exception (normal or runtime) that may occur during
runtime processing for the application. This is exception is used
when the intent is to communicate a low-level failure to the user or
developer; it is not expected to be caught. The rootCause
property is a nested exception (Tapestry supported this concept
long before the JDK did).
- Version:
- $Id: ApplicationRuntimeException.java,v 1.6 2003/08/06 14:28:48 hlship Exp $
- Author:
- Howard Lewis Ship
- See Also:
- Serialized Form
ApplicationRuntimeException
public ApplicationRuntimeException(Throwable rootCause)
ApplicationRuntimeException
public ApplicationRuntimeException(String message)
ApplicationRuntimeException
public ApplicationRuntimeException(String message,
Throwable rootCause)
ApplicationRuntimeException
public ApplicationRuntimeException(String message,
Object component,
ILocation location,
Throwable rootCause)
ApplicationRuntimeException
public ApplicationRuntimeException(String message,
ILocation location,
Throwable rootCause)
getRootCause
public Throwable getRootCause()
getLocation
public ILocation getLocation()
- Description copied from interface:
ILocatable
- Returns the
location
from which
this object orginates, or null if not known.
- Specified by:
getLocation
in interface ILocatable
getComponent
public Object getComponent()