org.axonframework.test.matchers
Class MatcherExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.axonframework.common.AxonException
                  extended by org.axonframework.common.AxonNonTransientException
                      extended by org.axonframework.test.matchers.MatcherExecutionException
All Implemented Interfaces:
Serializable

public class MatcherExecutionException
extends AxonNonTransientException

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:
Serialized Form

Constructor Summary
MatcherExecutionException(String message)
          Construct the exception with the given message.
MatcherExecutionException(String message, Throwable cause)
          Construct the exception with the given message and cause.
 
Method Summary
 
Methods inherited from class org.axonframework.common.AxonNonTransientException
isCauseOf
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MatcherExecutionException

public MatcherExecutionException(String message)
Construct the exception with the given message.

Parameters:
message - the message describing the cause

MatcherExecutionException

public MatcherExecutionException(String message,
                                 Throwable cause)
Construct the exception with the given message and cause.

Parameters:
message - the message describing the cause
cause - the underlying cause


Copyright © 2010-2016. All Rights Reserved.