Class AssertionFailureException

All Implemented Interfaces:
Serializable

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.
      Parameters:
      assertionId - identifier of the assertion.
      assertionMessage - associated message.
  • Method Details

    • getAssertionId

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