Interface ExceptionObserver

All Known Implementing Classes:
SimpleExceptionObserver

public interface ExceptionObserver
This observer intercepts an exception thrown during the tests.
  • Method Details

    • exceptionThrown

      void exceptionThrown(Exception ex)
      An exception has been thrown.
      Parameters:
      ex - exception
    • getExceptionList

      List<Exception> getExceptionList()
      Returns:
      list of all the thrown exception
    • getLastException

      Optional<Exception> getLastException()
      Returns:
      last thrown exception
    • getFirstException

      Optional<Exception> getFirstException()
      Returns:
      first thrown exception