Package org.axonframework.test.matchers
Class MatcherExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.common.AxonNonTransientException
org.axonframework.test.matchers.MatcherExecutionException
- All Implemented Interfaces:
Serializable
Exception indicating that an error occurred that prevented successful execution of a matcher. This exception does
not mean an actual instance does not match the expected instance. It means the matcher was unable to perform the
match due to external factors.
- Since:
- 1.1
- Author:
- Allard Buijze
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMatcherExecutionException(String message) Construct the exception with the givenmessage.MatcherExecutionException(String message, Throwable cause) Construct the exception with the givenmessageandcause. -
Method Summary
Methods inherited from class org.axonframework.common.AxonNonTransientException
isCauseOfMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MatcherExecutionException
Construct the exception with the givenmessage.- Parameters:
message- the message describing the cause
-
MatcherExecutionException
Construct the exception with the givenmessageandcause.- Parameters:
message- the message describing the causecause- the underlying cause
-