Class AfterCompletionFailedException

  • All Implemented Interfaces:
    java.io.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, java.lang.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AfterCompletionFailedException

        public AfterCompletionFailedException​(int syncStatus,
                                              java.lang.Throwable cause)
        Construct an instance with the provided properties.
        Parameters:
        syncStatus - the synchronization status.
        cause - the cause.
    • Method Detail

      • getSyncStatus

        public int getSyncStatus()
        Return the synchronization status.
        Returns:
        the status.