|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Error
junit.framework.AssertionFailedError
org.apache.avalon.excalibur.testcase.CascadingAssertionFailedError
public class CascadingAssertionFailedError
This is an extention to the testing framework so that we can get detailed messages from JUnit (The AssertionFailedError hides the underlying cause)
| Field Summary | |
|---|---|
private java.lang.Throwable |
m_throwable
Deprecated. |
| Constructor Summary | |
|---|---|
CascadingAssertionFailedError()
Deprecated. Constructor with no message |
|
CascadingAssertionFailedError(java.lang.String message)
Deprecated. Constructor with a message |
|
CascadingAssertionFailedError(java.lang.String message,
java.lang.Throwable parentThrowable)
Deprecated. Constructor with a message and a parent exception |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getCause()
Deprecated. 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 |
| Field Detail |
|---|
private final java.lang.Throwable m_throwable
| Constructor Detail |
|---|
public CascadingAssertionFailedError()
public CascadingAssertionFailedError(java.lang.String message)
public CascadingAssertionFailedError(java.lang.String message,
java.lang.Throwable parentThrowable)
| Method Detail |
|---|
public final java.lang.Throwable getCause()
getCause in interface org.apache.avalon.framework.CascadingThrowablegetCause in class java.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||