Class AssertionFailureException

All Implemented Interfaces:

public class AssertionFailureException extends ConformanceException
AssertionFailureException is used when a test case fails an assertion.
See Also:
  • Constructor Details

    • AssertionFailureException

      public AssertionFailureException(String assertionId, String assertionMessage)
      Typical constructor accepts information about the failure of the test.
      assertionId - identifier of the assertion.
      assertionMessage - associated message.
  • Method Details

    • getAssertionId

      public String getAssertionId()
      Return the identifier of the assertion that failed.
      string identifier