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:
Serializable

public class TestFailedException
extends Exception

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

Version:
$Revision: 1.6 $
Author:
John Reekie (johnr@eecs.berkeley.edu)
See Also:
Serialized Form

Field Summary
 Object first
          One of the objects involved in the failed test.
 Object second
          Another of the objects involved in the failed test.
 
Constructor Summary
TestFailedException(String message)
          Create a new test exception with a detail message
TestFailedException(String message, Object a)
          Create a new test exception with a detail message and one additional object.
TestFailedException(String message, Object a, 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 Object first
One of the objects involved in the failed test.


second

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

Constructor Detail

TestFailedException

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


TestFailedException

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


TestFailedException

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



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.