Class CaughtException

All Implemented Interfaces:
Serializable

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.
      Parameters:
      errorMessage - description of where exception occurred
      caughtException - exception that was caught.
  • Method Details

    • getCaughtException

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