satin.testing
Class TestFailure

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--satin.testing.TestFailure
All Implemented Interfaces:
java.io.Serializable

public class TestFailure
extends java.lang.Exception

A generic exception for test failures.

Author:
Ed Stauff
See Also:
Serialized Form

Field Summary
final Testcase testcase
          The testcase in which the failure occurred, or null.
 
Constructor Summary
TestFailure(Testcase testcase, java.lang.String descr)
          Constructs a TestFailure exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

testcase

public final Testcase testcase
The testcase in which the failure occurred, or null.
Constructor Detail

TestFailure

public TestFailure(Testcase testcase,
                   java.lang.String descr)
Constructs a TestFailure exception.

Parameters:
testcase
the testcase in which the failure occurred, or null.
descr
a description of the failure.
Revision History

7/31/01 Ed Stauff - code review.

3/22/01 Ed Stauff - initial API review by Satin team.



Generated on 5/9/2001 19:37 from TestFailure.java (PRIVATE SOURCES)