org.axonframework.common
Class AxonTransientException

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.AxonTransientException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AggregateStateCorruptedException, ConcurrencyException, JdbcTransactionException, LockAcquisitionFailedException, SagaStorageException, SchedulingException

public abstract class AxonTransientException
extends AxonException

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

Constructor Summary
AxonTransientException(String message)
          Initializes the exception using the given message.
AxonTransientException(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

AxonTransientException

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

Parameters:
message - The message describing the exception

AxonTransientException

public AxonTransientException(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 © 2010-2016. All Rights Reserved.