public static class XelException.Aide
extends java.lang.Object
The reason to use a class to hold static utilities is we can override the method's return type later.
Constructor and Description |
---|
Aide() |
Modifier and Type | Method and Description |
---|---|
static XelException |
wrap(java.lang.Throwable t)
Converts an exception to XelException if it is
not RuntimeException nor Error.
|
static XelException |
wrap(java.lang.Throwable t,
int code)
Converts an exception to XelException if it is
not RuntimeException nor Error.
|
static XelException |
wrap(java.lang.Throwable t,
int code,
java.lang.Object fmtArg)
Converts an exception to XelException if it is
not RuntimeException nor Error.
|
static XelException |
wrap(java.lang.Throwable t,
int code,
java.lang.Object[] fmtArgs)
Converts an exception to XelException if it is
not RuntimeException nor Error.
|
static XelException |
wrap(java.lang.Throwable t,
java.lang.String msg)
Converts an exception to XelException if it is
not RuntimeException nor Error.
|
public static XelException wrap(java.lang.Throwable t)
public static XelException wrap(java.lang.Throwable t, java.lang.String msg)
public static XelException wrap(java.lang.Throwable t, int code, java.lang.Object[] fmtArgs)
public static XelException wrap(java.lang.Throwable t, int code, java.lang.Object fmtArg)
public static XelException wrap(java.lang.Throwable t, int code)
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.