Class ExceptionNotThrownFailure

java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
com.github.stefanbirkner.fishbowl.ExceptionNotThrownFailure
All Implemented Interfaces:
Serializable

public class ExceptionNotThrownFailure extends AssertionError
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 Details

    • ExceptionNotThrownFailure

      public ExceptionNotThrownFailure()
      Creates a new ExceptionNotThrownFailure.