Package org.axonframework.common
Class AxonTransientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.common.AxonTransientException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConcurrencyException,ExecutionException,JdbcException,LockAcquisitionFailedException,NoHandlerForCommandException,UnableToClaimTokenException,UnableToInitializeTokenException,UnableToRetrieveIdentifierException
Exception indicating an error occurred that might be resolved by retrying the operation that caused the exception.
Typically, the cause of the exception is of temporary nature and may be resolved without intervention.
- Since:
- 0.6
- Author:
- Allard Buijze
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAxonTransientException(String message) Initializes the exception using the givenmessage.AxonTransientException(String message, Throwable cause) Initializes the exception using the givenmessageandcause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AxonTransientException
Initializes the exception using the givenmessage.- Parameters:
message- The message describing the exception
-
AxonTransientException
Initializes the exception using the givenmessageandcause.- Parameters:
message- The message describing the exceptioncause- The underlying cause of the exception
-