org.apache.avalon.excalibur.pool.test
Class CascadingAssertionFailedError
java.lang.Object
java.lang.Throwable
java.lang.Error
junit.framework.AssertionFailedError
org.apache.avalon.excalibur.pool.test.CascadingAssertionFailedError
- All Implemented Interfaces:
- CascadingThrowable, java.io.Serializable
- public class CascadingAssertionFailedError
- extends junit.framework.AssertionFailedError
- implements CascadingThrowable
This is an extention to the testing framework so that we can get detailed messages from JUnit (The AssertionFailedError hides the underlying cause)
- Version:
- $Id: CascadingAssertionFailedError.java,v 1.2 2004/03/29 16:50:37 mcconnell Exp $
- Author:
- See Also:
- Serialized Form
| Fields inherited from class java.lang.Error |
|
| Fields inherited from class java.lang.Throwable |
|
| Method Summary |
java.lang.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 |
m_throwable
private final java.lang.Throwable m_throwable
-
CascadingAssertionFailedError
public CascadingAssertionFailedError()
-
Constructor with no message
CascadingAssertionFailedError
public CascadingAssertionFailedError(java.lang.String message)
-
Constructor with a message
CascadingAssertionFailedError
public CascadingAssertionFailedError(java.lang.String message,
java.lang.Throwable parentThrowable)
-
Constructor with a message and a parent exception
getCause
public final java.lang.Throwable getCause()
-
Return the parent exception
-
- Specified by:
getCause in interface CascadingThrowable
-
Please see keelframework.org for information about new Keel releases.