com.ibm.commerce.edp.api

Class CommunicationException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    PendingException


    public class CommunicationException
    extends BackendException
    This class represents the exception when communication with backend fails.
    See Also:
    Serialized Form
    • Constructor Detail

      • CommunicationException

        public CommunicationException()

        This method is the default Constructor.

      • CommunicationException

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

        This method 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
      • CommunicationException

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

        This method is the 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
      • CommunicationException

        public CommunicationException(java.lang.Throwable exception)

        This method is the constructor with a chained exception.

        Parameters:
        exception - the exception to be chained