public static class UiException.Aide extends Object
UiException
.
The reason to use a class to hold static utilities is we can override the method's return type later.
Constructor and Description |
---|
UiException.Aide() |
Modifier and Type | Method and Description |
---|---|
static UiException |
wrap(Throwable t)
Converts an exception to UiException or OperationException
depending on whether t implements Expectable.
|
static UiException |
wrap(Throwable t,
int code)
Converts an exception to UiException or OperationException
depending on whether t implements Expectable.
|
static UiException |
wrap(Throwable t,
int code,
Object fmtArg)
Converts an exception to UiException or OperationException
depending on whether t implements Expectable.
|
static UiException |
wrap(Throwable t,
int code,
Object[] fmtArgs)
Converts an exception to UiException or OperationException
depending on whether t implements Expectable.
|
static UiException |
wrap(Throwable t,
String msg)
Converts an exception to UiException or OperationException
depending on whether t implements Expectable.
|
public static UiException wrap(Throwable t)
Exceptions.wrap(java.lang.Throwable, java.lang.Class<? extends java.lang.Throwable>)
public static UiException wrap(Throwable t, String msg)
Exceptions.wrap(java.lang.Throwable, java.lang.Class<? extends java.lang.Throwable>)
public static UiException wrap(Throwable t, int code, Object[] fmtArgs)
Exceptions.wrap(java.lang.Throwable, java.lang.Class<? extends java.lang.Throwable>)
public static UiException wrap(Throwable t, int code, Object fmtArg)
Exceptions.wrap(java.lang.Throwable, java.lang.Class<? extends java.lang.Throwable>)
public static UiException wrap(Throwable t, int code)
Exceptions.wrap(java.lang.Throwable, java.lang.Class<? extends java.lang.Throwable>)
Copyright © 2017. All rights reserved.