|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.lang.SystemException.Aide
public static class SystemException.Aide
Utilities.
The reason to use a class to hold static utilities is we can override the method's return type later.
Constructor Summary | |
---|---|
SystemException.Aide()
|
Method Summary | |
---|---|
static SystemException |
wrap(java.lang.Throwable t)
Converts an exception to SystemException or OperationException depending on whether t implements Expectable. |
static SystemException |
wrap(java.lang.Throwable t,
int code)
Converts an exception to SystemException or OperationException depending on whether t implements Expectable. |
static SystemException |
wrap(java.lang.Throwable t,
int code,
java.lang.Object fmtArg)
Converts an exception to SystemException or OperationException depending on whether t implements Expectable. |
static SystemException |
wrap(java.lang.Throwable t,
int code,
java.lang.Object[] fmtArgs)
Converts an exception to SystemException or OperationException depending on whether t implements Expectable. |
static SystemException |
wrap(java.lang.Throwable t,
java.lang.String msg)
Converts an exception to SystemException or OperationException depending on whether t implements Expectable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemException.Aide()
Method Detail |
---|
public static SystemException wrap(java.lang.Throwable t)
Exceptions.wrap(java.lang.Throwable, java.lang.Class extends java.lang.Throwable>)
public static SystemException wrap(java.lang.Throwable t, java.lang.String msg)
Exceptions.wrap(java.lang.Throwable, java.lang.Class extends java.lang.Throwable>)
public static SystemException wrap(java.lang.Throwable t, int code, java.lang.Object[] fmtArgs)
Exceptions.wrap(java.lang.Throwable, java.lang.Class extends java.lang.Throwable>)
public static SystemException wrap(java.lang.Throwable t, int code, java.lang.Object fmtArg)
Exceptions.wrap(java.lang.Throwable, java.lang.Class extends java.lang.Throwable>)
public static SystemException wrap(java.lang.Throwable t, int code)
Exceptions.wrap(java.lang.Throwable, java.lang.Class extends java.lang.Throwable>)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |