diva.util.jester
Class TestFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by diva.util.jester.TestFailedException
All Implemented Interfaces:
java.io.Serializable

public class TestFailedException
extends java.lang.Exception

An exception that is thrown when a test produces an incorrect result.

Version:
$Id: TestFailedException.java 38798 2005-07-08 20:00:01Z cxh $
Author:
John Reekie
See Also:
Serialized Form

Field Summary
 java.lang.Object first
          One of the objects involved in the failed test.
 java.lang.Object second
          Another of the objects involved in the failed test.
 
Constructor Summary
TestFailedException(java.lang.String message)
          Create a new test exception with a detail message
TestFailedException(java.lang.String message, java.lang.Object a)
          Create a new test exception with a detail message and one additional object.
TestFailedException(java.lang.String message, java.lang.Object a, java.lang.Object b)
          Create a new test exception with a detail message and two additional objects.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

first

public java.lang.Object first
One of the objects involved in the failed test.


second

public java.lang.Object second
Another of the objects involved in the failed test.

Constructor Detail

TestFailedException

public TestFailedException(java.lang.String message)
Create a new test exception with a detail message


TestFailedException

public TestFailedException(java.lang.String message,
                           java.lang.Object a)
Create a new test exception with a detail message and one additional object.


TestFailedException

public TestFailedException(java.lang.String message,
                           java.lang.Object a,
                           java.lang.Object b)
Create a new test exception with a detail message and two additional objects.