Package org.approvej
Class ApprovalError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.approvej.ApprovalError
- All Implemented Interfaces:
Serializable
An
AssertionError
thrown when an approval fails.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionApprovalError
(String received, String previouslyApproved) Creates anApprovalError
for when the given received value does not match the previouslyApproved. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ApprovalError
Creates anApprovalError
for when the given received value does not match the previouslyApproved.- Parameters:
received
- the received valuepreviouslyApproved
- the previously approved value
-