org.apache.avalon.excalibur.testcase
Class CascadingAssertionFailedError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended byjunit.framework.AssertionFailedError
              extended byorg.apache.avalon.excalibur.testcase.CascadingAssertionFailedError
All Implemented Interfaces:
CascadingThrowable, java.io.Serializable

Deprecated. ECM is no longer supported

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.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 CascadingThrowable


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.