Class CaughtException

All Implemented Interfaces:

public class CaughtException extends ConformanceException
CaughtException is used when an unexpected exception occurs during a test.
See Also:
  • Constructor Details

    • CaughtException

      public CaughtException(String errorMessage, Exception caughtException)
      The constructor captures the context of the exception.
      errorMessage - description of where exception occurred
      caughtException - exception that was caught.
  • Method Details

    • getCaughtException

      public Exception getCaughtException()
      Return the caught exception.
      exception object