|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Error | +--junit.framework.AssertionFailedError | +--org.apache.avalon.excalibur.testcase.CascadingAssertionFailedError
This is an extention to the testing framework so that we can get detailed messages from JUnit (The AssertionFailedError hides the underlying cause)
Constructor Summary | |
CascadingAssertionFailedError()
Constructor with no message |
|
CascadingAssertionFailedError(String message)
Constructor with a message |
|
CascadingAssertionFailedError(String message,
Throwable parentThrowable)
Constructor with a message and a parent exception |
Method Summary | |
Throwable |
getCause()
Return the parent exception |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CascadingAssertionFailedError()
public CascadingAssertionFailedError(String message)
public CascadingAssertionFailedError(String message, Throwable parentThrowable)
Method Detail |
public final Throwable getCause()
getCause
in interface CascadingThrowable
getCause
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |