Class AfterCompletionFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.amqp.AmqpException
org.springframework.amqp.rabbit.connection.AfterCompletionFailedException
- All Implemented Interfaces:
Serializable
Represents a failure to commit or rollback when performing afterCompletion
after the primary transaction completes.
- Since:
- 2.4
- Author:
- Gary Russell
- See Also:
-
Constructor Summary
ConstructorDescriptionAfterCompletionFailedException
(int syncStatus, Throwable cause) Construct an instance with the provided properties. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AfterCompletionFailedException
Construct an instance with the provided properties.- Parameters:
syncStatus
- the synchronization status.cause
- the cause.
-
-
Method Details
-
getSyncStatus
public int getSyncStatus()Return the synchronization status.- Returns:
- the status.
-