public class ExceptionUtils
extends java.lang.Object
| Constructor and Description |
|---|
ExceptionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
propagateCause(java.lang.Throwable throwable)
Retrieves cause exception and wraps to
CommandActionExecutionException. |
static CommandActionExecutionException |
wrapCause(java.lang.Throwable throwable)
Wraps cause exception to
CommandActionExecutionException. |
public static void propagateCause(java.lang.Throwable throwable)
throws CommandActionExecutionException
CommandActionExecutionException.throwable - the throwableCommandActionExecutionExceptionpublic static CommandActionExecutionException wrapCause(java.lang.Throwable throwable)
CommandActionExecutionException.throwable - the throwable