|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.clirr.core.internal.ExceptionUtil
public final class ExceptionUtil
A helper class to initialize the cause of an exception. This allows Clirr to be compile time compatible with JDK 1.3 at still taking advantage of the JDK 1.4 chained exceptions feature if available.
Method Summary | |
---|---|
static void |
initCause(java.lang.Throwable t,
java.lang.Throwable cause)
Initializes the chained exception if possible. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void initCause(java.lang.Throwable t, java.lang.Throwable cause)
t
- the resulting exception (high abstraction level)cause
- the underlying cause of t (low abstraction level)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |