Package org.apache.jasper.runtime
Class ExceptionUtils
- java.lang.Object
- 
- org.apache.jasper.runtime.ExceptionUtils
 
- 
 public class ExceptionUtils extends java.lang.ObjectUtilities for handling Throwables and Exceptions.
- 
- 
Constructor SummaryConstructors Constructor Description ExceptionUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidhandleThrowable(java.lang.Throwable t)Checks whether the supplied Throwable is one that needs to be rethrown and swallows all others.static java.lang.ThrowableunwrapInvocationTargetException(java.lang.Throwable t)Checks whether the supplied Throwable is an instance ofInvocationTargetExceptionand returns the throwable that is wrapped by it, if there is any.
 
- 
- 
- 
Method Detail- 
handleThrowablepublic static void handleThrowable(java.lang.Throwable t) Checks whether the supplied Throwable is one that needs to be rethrown and swallows all others.- Parameters:
- t- the Throwable to check
 
 - 
unwrapInvocationTargetExceptionpublic static java.lang.Throwable unwrapInvocationTargetException(java.lang.Throwable t) Checks whether the supplied Throwable is an instance ofInvocationTargetExceptionand returns the throwable that is wrapped by it, if there is any.- Parameters:
- t- the Throwable to check
- Returns:
- tor- t.getCause()
 
 
- 
 
-