Package org.apache.jasper.runtime
Class ExceptionUtils
java.lang.Object
org.apache.jasper.runtime.ExceptionUtils
Utilities for handling Throwables and Exceptions.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidChecks whether the supplied Throwable is one that needs to be rethrown and swallows all others.static ThrowableChecks whether the supplied Throwable is an instance ofInvocationTargetExceptionand returns the throwable that is wrapped by it, if there is any.
- 
Constructor Details- 
ExceptionUtilspublic ExceptionUtils()
 
- 
- 
Method Details- 
handleThrowableChecks whether the supplied Throwable is one that needs to be rethrown and swallows all others.- Parameters:
- t- the Throwable to check
 
- 
unwrapInvocationTargetExceptionChecks 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()
 
 
-