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
public class AfterCompletionFailedException extends AmqpException
Represents a failure to commit or rollback when performing afterCompletion after the primary transaction completes.- Since:
- 2.4
- Author:
- Gary Russell
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AfterCompletionFailedException(int syncStatus, Throwable cause)
Construct an instance with the provided properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSyncStatus()
Return the synchronization status.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AfterCompletionFailedException
public AfterCompletionFailedException(int syncStatus, Throwable cause)
Construct an instance with the provided properties.- Parameters:
syncStatus
- the synchronization status.cause
- the cause.
-
-