public class ExceptionUtil extends Object
Modifier | Constructor and Description |
---|---|
protected |
ExceptionUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
addSuppressed(Throwable e,
Throwable suppressed) |
static String |
generateMessage(String s,
StackTraceElement[] closeStackTrace) |
static RuntimeException |
processException(Throwable e) |
static boolean |
throwException(String className,
String message) |
static void |
throwException(Throwable e) |
static void |
throwTargetException(InvocationTargetException ite) |
public static void throwException(Throwable e)
public static String generateMessage(String s, StackTraceElement[] closeStackTrace)
public static void throwTargetException(InvocationTargetException ite)
public static RuntimeException processException(Throwable e)
Copyright © 2016. All rights reserved.