Package org.zkoss.zk.ui
Class UiException.Aide
- java.lang.Object
-
- org.zkoss.zk.ui.UiException.Aide
-
- Enclosing class:
- UiException
public static class UiException.Aide extends java.lang.Object
Utilities to wrapUiException
.The reason to use a class to hold static utilities is we can override the method's return type later.
-
-
Constructor Summary
Constructors Constructor Description Aide()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UiException
wrap(java.lang.Throwable t)
Converts an exception to UiException or OperationException depending on whether t implements Expectable.static UiException
wrap(java.lang.Throwable t, int code)
Converts an exception to UiException or OperationException depending on whether t implements Expectable.static UiException
wrap(java.lang.Throwable t, int code, java.lang.Object fmtArg)
Converts an exception to UiException or OperationException depending on whether t implements Expectable.static UiException
wrap(java.lang.Throwable t, int code, java.lang.Object[] fmtArgs)
Converts an exception to UiException or OperationException depending on whether t implements Expectable.static UiException
wrap(java.lang.Throwable t, java.lang.String msg)
Converts an exception to UiException or OperationException depending on whether t implements Expectable.
-
-
-
Method Detail
-
wrap
public static UiException wrap(java.lang.Throwable t)
Converts an exception to UiException or OperationException depending on whether t implements Expectable.
-
wrap
public static UiException wrap(java.lang.Throwable t, java.lang.String msg)
Converts an exception to UiException or OperationException depending on whether t implements Expectable.
-
wrap
public static UiException wrap(java.lang.Throwable t, int code, java.lang.Object[] fmtArgs)
Converts an exception to UiException or OperationException depending on whether t implements Expectable.
-
wrap
public static UiException wrap(java.lang.Throwable t, int code, java.lang.Object fmtArg)
Converts an exception to UiException or OperationException depending on whether t implements Expectable.
-
wrap
public static UiException wrap(java.lang.Throwable t, int code)
Converts an exception to UiException or OperationException depending on whether t implements Expectable.
-
-