All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.ajug.jsl.jester.cases.AssertFailureException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.lang.RuntimeException
                           |
                           +----org.ajug.jsl.jester.cases.AssertFailureException

public class AssertFailureException
extends RuntimeException
This class represents an assert failure, which means a specific single line of code in a test has detected a condition that is incorrect. After the defect is fixed the same assert should no longer cause this exception.


Constructor Index

 o AssertFailureException(String, Test)
Creates the needed exception with the test originating the assert.

Method Index

 o getTest()
Returns the test that originated the exception.

Constructors

 o AssertFailureException
 public AssertFailureException(String message,
                               Test test)
Creates the needed exception with the test originating the assert. The message may be the "assert info" that the test has supplied, or the message may be a standard one.

Methods

 o getTest
 public Test getTest()
Returns the test that originated the exception.


All Packages  Class Hierarchy  This Package  Previous  Next  Index