| java.lang.Object net.sf.clirr.core.internal.ExceptionUtil
ExceptionUtil | final public class ExceptionUtil (Code) | | 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.
author: lkuehne |
initCause | public static void initCause(Throwable t, Throwable cause)(Code) | | Initializes the chained exception if possible.
Does nothing if chained exceptions are not available on the
current JDK (1.3 or lower).
Parameters: t - the resulting exception (high abstraction level) Parameters: cause - the underlying cause of t (low abstraction level) |
|
|