com.ibm.commerce.edp.api

Class BackendException

    • Constructor Detail

      • BackendException

        public BackendException()

        The default constructor of this class.

      • BackendException

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

        The constructor with a localized message of this class.

        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
      • BackendException

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

        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
      • BackendException

        public BackendException(java.lang.Throwable exception)

        The constructor with a chained exception.

        Parameters:
        exception - The exception to be chained