org.axonframework.saga
Class NoSuchSagaException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.axonframework.util.AxonException
                  extended by org.axonframework.util.AxonNonTransientException
                      extended by org.axonframework.saga.NoSuchSagaException
All Implemented Interfaces:
Serializable

public class NoSuchSagaException
extends AxonNonTransientException

Exception indicating that the specified Saga could not be found.

Since:
0.7
Author:
Allard Buijze
See Also:
Serialized Form

Constructor Summary
NoSuchSagaException(Class<?> type, String sagaIdentifier)
          Initializes a NoSuchSagaException, indicating that a saga of given type and sagaIdentifier could not be found.
 
Method Summary
 
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

NoSuchSagaException

public NoSuchSagaException(Class<?> type,
                           String sagaIdentifier)
Initializes a NoSuchSagaException, indicating that a saga of given type and sagaIdentifier could not be found.

Parameters:
type - The type of Saga that was not found
sagaIdentifier - The identifier of the Saga that could not be found


Copyright © 2011. All Rights Reserved.