Class ExceptionNotThrownFailure
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
com.github.stefanbirkner.fishbowl.ExceptionNotThrownFailure
- All Implemented Interfaces:
Serializable
This exception is thrown by
Fishbowl.exceptionThrownBy(Statement)
if the provided Statement
did not throw an exception. It extends
AssertionError
in order to trigger a test failure.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExceptionNotThrownFailure
public ExceptionNotThrownFailure()Creates a newExceptionNotThrownFailure
.
-