public class ExceptionUtil extends Object
Constructor and Description |
---|
ExceptionUtil() |
Modifier and Type | Method and Description |
---|---|
static <T extends Throwable> |
findCause(Throwable throwable,
Class<T> causeClass) |
static <T extends Throwable> |
findException(Throwable throwable,
Class<T> clazz) |
static CriticalityType |
getCriticality(ErrorSelectorType selector,
Throwable exception,
CriticalityType defaultValue) |
static LocalizableMessage |
getUserFriendlyMessage(Throwable cause) |
static String |
lookForMessage(Throwable e) |
static Throwable |
lookForTunneledException(Throwable ex) |
static String |
printStackTrace(Throwable t) |
public static CriticalityType getCriticality(ErrorSelectorType selector, Throwable exception, CriticalityType defaultValue)
public static LocalizableMessage getUserFriendlyMessage(Throwable cause)
public static <T extends Throwable> T findException(Throwable throwable, Class<T> clazz)
Copyright © 2020 Evolveum. All rights reserved.