com.ibm.commerce.edp.api

Class PendingException

  • All Implemented Interfaces:
    java.io.Serializable


    public class PendingException
    extends CommunicationException
    This class represents a pending state returned by the backend system. This means that one of the backend operations attempted did not complete in the slotted time. And the payments layer wants to signal upper layers to try again at a later time.
    See Also:
    Serialized Form
    • Constructor Detail

      • PendingException

        public PendingException()

        Default Constructor.

      • PendingException

        public PendingException(java.lang.String resourceBundleName,
                                java.lang.String messageKey,
                                java.lang.Object[] formatArguments,
                                java.lang.String defaultText)

        Constructor with a localized message.

        Parameters:
        resourceBundleName - the name of the resource bundle to be used to generate a localized exception message
        messageKey - the key to identify the resource to generate a localized exception
        formatArguments - an array of arguments to build the localized message
        defaultText - the message that is shown if the localized message cannot be generated
      • PendingException

        public PendingException(java.lang.String resourceBundleName,
                                java.lang.String messageKey,
                                java.lang.Object[] formatArguments,
                                java.lang.String defaultText,
                                java.lang.Throwable exception)

        Constructor with a localized message and a chained exception.

        Parameters:
        resourceBundleName - the name of the resource bundle to be used to generate a localized exception message
        messageKey - the key to identify the resource to generate a localized exception
        formatArguments - an array of arguments to build the localized message
        defaultText - the message that is shown if the localized message cannot be generated
        exception - the exception to be chained
      • PendingException

        public PendingException(java.lang.Throwable exception)

        Constructor with a chained exception.

        Parameters:
        exception - the exception to be chained