org.apache.hivemind
Class ApplicationRuntimeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--org.apache.hivemind.ApplicationRuntimeException
- All Implemented Interfaces:
- Locatable, java.io.Serializable
- public class ApplicationRuntimeException
- extends java.lang.RuntimeException
- implements Locatable
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.
- Author:
- Howard Lewis Ship
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ApplicationRuntimeException
public ApplicationRuntimeException(java.lang.Throwable rootCause)
ApplicationRuntimeException
public ApplicationRuntimeException(java.lang.String message)
ApplicationRuntimeException
public ApplicationRuntimeException(java.lang.String message,
java.lang.Throwable rootCause)
ApplicationRuntimeException
public ApplicationRuntimeException(java.lang.String message,
java.lang.Object component,
Location location,
java.lang.Throwable rootCause)
ApplicationRuntimeException
public ApplicationRuntimeException(java.lang.String message,
Location location,
java.lang.Throwable rootCause)
getRootCause
public java.lang.Throwable getRootCause()
getLocation
public Location getLocation()
- Description copied from interface:
Locatable
- Returns the
location
from which
this object orginates, or null if not known.
- Specified by:
getLocation
in interface Locatable
getComponent
public java.lang.Object getComponent()