|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.apache.shale.view.ApplicationException
public class ApplicationException
Runtime exception encapsulating a List
of exceptions that
have occurred during the request processing lifecycle.
Constructor Summary | |
---|---|
ApplicationException()
Construct an exception with no message. |
|
ApplicationException(List exceptions)
Construct an exception with the specified List of
causes. |
|
ApplicationException(String message)
Construct an exception with the specified message. |
|
ApplicationException(String message,
Throwable cause)
Construct an exception with the specified message and cause. |
|
ApplicationException(Throwable cause)
Construct an exception with the specified cause. |
Method Summary | |
---|---|
List |
getExceptions()
Return a List of exceptoins that are the cumulative
cause of this exception. |
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 |
Constructor Detail |
---|
public ApplicationException()
Construct an exception with no message.
public ApplicationException(String message)
Construct an exception with the specified message.
message
- The exception messagepublic ApplicationException(String message, Throwable cause)
Construct an exception with the specified message and cause.
message
- The exception messagecause
- The root causepublic ApplicationException(Throwable cause)
Construct an exception with the specified cause.
cause
- The root causepublic ApplicationException(List exceptions)
Construct an exception with the specified List
of
causes. The first exception in the list will be logged as the
formal cause of this exception.
exceptions
- List of exceptions that have been thrownMethod Detail |
---|
public List getExceptions()
Return a List
of exceptoins that are the cumulative
cause of this exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |