com.ibm.commerce.payments.plugincontroller.exception

Class InvalidCreditException

  • All Implemented Interfaces:
    java.io.Serializable


    public class InvalidCreditException
    extends InvalidDataException

    This exception is thrown when the related Credit is not at the desired status.

    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidCreditException

        public InvalidCreditException()

        This method is a default Constructor.

      • InvalidCreditException

        public InvalidCreditException(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.
      • InvalidCreditException

        public InvalidCreditException(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.
      • InvalidCreditException

        public InvalidCreditException(java.lang.Throwable exception)

        This method is a constructor with a chained exception.

        Parameters:
        exception - The exception to be chained.