org.axonframework.util
Class AxonNonTransientException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AggregateNotFoundException, AxonConfigurationException, ConflictingModificationException, EventStoreException, IncompatibleAggregateException, NoHandlerForCommandException, NoSuchSagaException, SerializationException

public abstract class AxonNonTransientException
extends AxonException

Exception indicating an error has been cause that cannot be resolved without intervention. Retrying the operation that threw the exception will most likely result in the same exception being thrown.

Examples of such errors are programming errors and infrastructure errors (e.g. failed connection).

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

Constructor Summary
AxonNonTransientException(String message)
          Initializes the exception using the given message.
AxonNonTransientException(String message, Throwable cause)
          Initializes the exception using the given message and cause.
 
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

AxonNonTransientException

public AxonNonTransientException(String message)
Initializes the exception using the given message.

Parameters:
message - The message describing the exception

AxonNonTransientException

public AxonNonTransientException(String message,
                                 Throwable cause)
Initializes the exception using the given message and cause.

Parameters:
message - The message describing the exception
cause - The underlying cause of the exception


Copyright © 2011. All Rights Reserved.