public class ExceptionUtils extends Object
| Constructor and Description |
|---|
ExceptionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Throwable |
getRootCause(Throwable e)
Finds the root cause of an exception.
|
static boolean |
isRootCause(Throwable e,
Class<?> clazz)
Returns true if the passed in class is the root cause of the exception
|
public ExceptionUtils()
public static Throwable getRootCause(Throwable e)
e - public static boolean isRootCause(Throwable e, Class<?> clazz)
e - clazz - Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.