org.apache.tapestry
Class ApplicationRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.tapestry.ApplicationRuntimeException
- All Implemented Interfaces:
- Serializable, ILocatable
- 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 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 243791 2004-02-19 17:38:13Z hlship $
- 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)
getCause
public Throwable getCause()
- Overrides:
getCause
in class Throwable
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()