Package org.approvej

Class ApprovalError

All Implemented Interfaces:
Serializable

@NullMarked public class ApprovalError extends AssertionError
An AssertionError thrown when an approval fails.
See Also:
  • Constructor Details

    • ApprovalError

      public ApprovalError(String received, String previouslyApproved)
      Creates an ApprovalError for when the given received value does not match the previouslyApproved.
      Parameters:
      received - the received value
      previouslyApproved - the previously approved value