public class ExceptionUtils extends Object
| Constructor and Description |
|---|
ExceptionUtils() |
public static void addCauseMethodName(String methodName)
public static void removeCauseMethodName(String methodName)
public static boolean isCauseMethodName(String methodName)
public static boolean isThrowableNested()
public static boolean isNestedThrowable(Throwable throwable)
public static int getThrowableCount(Throwable throwable)
public static int indexOfThrowable(Throwable throwable, Class clazz, int fromIndex)
public static void printRootCauseStackTrace(Throwable throwable)
public static void printRootCauseStackTrace(Throwable throwable, PrintStream stream)
public static void printRootCauseStackTrace(Throwable throwable, PrintWriter writer)
Copyright © 2016 jufeng. All rights reserved.