|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.kernel.exception.Throwables
public class Throwables
JRE dependent exception handling methods.
| Method Summary | |
|---|---|
static BasicException |
getCause(Throwable throwable,
String exceptionDomain)
Returns the cause belonging to a specific exception domain. |
static Throwable |
initCause(Throwable throwable,
Throwable cause,
String exceptionDomain,
int exceptionCode,
BasicException.Parameter[] parameters,
String description)
Set a Throwable's exception stack. |
static Throwable |
log(Throwable throwable)
Log the throwable at warning level. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Throwable log(Throwable throwable)
throwable -
public static Throwable initCause(Throwable throwable,
Throwable cause,
String exceptionDomain,
int exceptionCode,
BasicException.Parameter[] parameters,
String description)
Throwable's exception stack.
throwable - A throwable from which the backtrace and other exception
information is used.cause - An embedded exceptionexceptionDomain - An exception domain. A null objects references
the default exception domain with negative exception codes only.exceptionCode - An exception code. Negative codes describe common
exceptions codes. Positive exception codes are specific for a given
exception domain.parameters - Any exception parameters, maybe nulldescription - The description, maybe null in which
case the throwable's message is used
public static BasicException getCause(Throwable throwable,
String exceptionDomain)
exceptionDomain - the desired exception domain,
or null to retrieve the initial cause.
exceptionDomain is
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||