org.axonframework.util
Class AxonNonTransientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.util.AxonException
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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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 exceptioncause - The underlying cause of the exception
Copyright © 2011. All Rights Reserved.