public class ExceptionUtils
extends java.lang.Object
| Constructor and Description | 
|---|
| ExceptionUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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
 InvocationTargetExceptionand returns the throwable that is
wrapped by it, if there is any. | 
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 checkt or t.getCause()Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.