com.ibm.commerce.payments.plugincontroller.exception

Class CreditNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable


    public class CreditNotFoundException
    extends ObjectCannotBeFoundException

    This exception is thrown when the requested Credit does not exist in the database or is marked for delete.

    See Also:
    Serialized Form
    • Constructor Detail

      • CreditNotFoundException

        public CreditNotFoundException()

        This method is a default Constructor.

      • CreditNotFoundException

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

        This method is a 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.
      • CreditNotFoundException

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

        This method is a 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.
      • CreditNotFoundException

        public CreditNotFoundException(java.lang.Throwable exception)

        This method is a constructor with a chained exception.

        Parameters:
        exception - The exception to be chained.