|
Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.jasper.runtime.ExceptionUtils
public class ExceptionUtils
Utilities for handling Throwables and Exceptions.
| Constructor Summary | |
|---|---|
ExceptionUtils()
|
|
| Method Summary | |
|---|---|
static void |
handleThrowable(java.lang.Throwable t)
Checks whether the supplied Throwable is one that needs to be rethrown and swallows all others. |
static java.lang.Throwable |
unwrapInvocationTargetException(java.lang.Throwable t)
Checks whether the supplied Throwable is an instance of InvocationTargetException and returns the throwable that is
wrapped by it, if there is any. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionUtils()
| Method Detail |
|---|
public static void handleThrowable(java.lang.Throwable t)
t - the Throwable to checkpublic static java.lang.Throwable unwrapInvocationTargetException(java.lang.Throwable t)
InvocationTargetException and returns the throwable that is
wrapped by it, if there is any.
t - the Throwable to check
t or t.getCause()
|
Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||