public class ExceptionUtil extends Object
Constructor and Description |
---|
ExceptionUtil() |
Modifier and Type | Method and Description |
---|---|
static Throwable |
convertException(Method method,
Throwable exception) |
static <T extends Throwable> |
getExceptionOfType(Throwable ex,
Class<T> cls) |
static Throwable |
sanitize(Throwable t,
boolean perserveStack)
Strip out the message and optionally the stacktrace
|
Copyright © 2020. All rights reserved.