org.apache.avalon.excalibur.testcase
Class CascadingAssertionFailedError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by java.lang.AssertionError
              extended by junit.framework.AssertionFailedError
                  extended by org.apache.avalon.excalibur.testcase.CascadingAssertionFailedError
All Implemented Interfaces:
java.io.Serializable, org.apache.avalon.framework.CascadingThrowable

Deprecated. ECM is no longer supported

public class CascadingAssertionFailedError
extends junit.framework.AssertionFailedError
implements org.apache.avalon.framework.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.4 2004/02/28 11:47:27 cziegeler Exp $
Author:
Avalon Development Team
See Also:
Serialized Form

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
 

Constructor Detail

CascadingAssertionFailedError

public CascadingAssertionFailedError()
Deprecated. 
Constructor with no message


CascadingAssertionFailedError

public CascadingAssertionFailedError(java.lang.String message)
Deprecated. 
Constructor with a message


CascadingAssertionFailedError

public CascadingAssertionFailedError(java.lang.String message,
                                     java.lang.Throwable parentThrowable)
Deprecated. 
Constructor with a message and a parent exception

Method Detail

getCause

public final java.lang.Throwable getCause()
Deprecated. 
Return the parent exception

Specified by:
getCause in interface org.apache.avalon.framework.CascadingThrowable
Overrides:
getCause in class java.lang.Throwable


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.