|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sun.rave.web.ui.appbase.ApplicationException
public class ApplicationException
Application exception class that wraps the one or more runtime
exceptions that were intercepted and cached during the execution of
a particular request's lifecycle. Call the getExceptions()
method to retrieve the cached exception instances.
| Constructor Summary | |
|---|---|
ApplicationException()
Construct a new exception with no additional information. |
|
ApplicationException(java.lang.String message)
Construct a new exception with the specified detail message. |
|
ApplicationException(java.lang.String message,
java.lang.Throwable cause)
Construct a new exception with the specified detail message and root cause. |
|
ApplicationException(java.lang.String message,
java.lang.Throwable cause,
java.util.List list)
Construct a new exception with the specified detail message, root cause, and list of cached exceptions. |
|
ApplicationException(java.lang.Throwable cause)
Construct a new exception with the specified root cause. |
|
ApplicationException(java.lang.Throwable cause,
java.util.List list)
Construct a new exception with the specified root cause and list of cached exceptions. |
|
| Method Summary | |
|---|---|
java.util.List |
getExceptions()
Return a List of the cached exceptions associated with
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 a new exception with no additional information.
public ApplicationException(java.lang.String message)
Construct a new exception with the specified detail message.
message - Detail message for this exception
public ApplicationException(java.lang.String message,
java.lang.Throwable cause)
Construct a new exception with the specified detail message and root cause.
message - Detail message for this exceptioncause - Root cause for this exceptionpublic ApplicationException(java.lang.Throwable cause)
Construct a new exception with the specified root cause.
cause - Root cause for this exception
public ApplicationException(java.lang.Throwable cause,
java.util.List list)
Construct a new exception with the specified root cause and list of cached exceptions.
cause - Root cause for this exceptionlist - List of cached exceptions
public ApplicationException(java.lang.String message,
java.lang.Throwable cause,
java.util.List list)
Construct a new exception with the specified detail message, root cause, and list of cached exceptions.
message - Detail message for this exceptioncause - Root cause for this exceptionlist - List of cached exceptions| Method Detail |
|---|
public java.util.List getExceptions()
Return a List of the cached exceptions associated with
this exception. If no such exceptions were associated, return
null instead.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||