com.ibm.commerce.payments.plugin

Class ApprovalExpiredException

  • All Implemented Interfaces:
    java.io.Serializable


    public class ApprovalExpiredException
    extends FinancialException

    This Exception is thrown when a plug-in finds out that the payment approval (authorization) has expired.

    Contextual information should be set as it is explained in the PluginException Javadoc introduction.

    See Also:
    Serialized Form
    • Constructor Detail

      • ApprovalExpiredException

        public ApprovalExpiredException()

        This method is a default constructor.

      • ApprovalExpiredException

        public ApprovalExpiredException(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
      • ApprovalExpiredException

        public ApprovalExpiredException(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
      • ApprovalExpiredException

        public ApprovalExpiredException(java.lang.Throwable exception)

        This method is a constructor with a chained exception.

        Parameters:
        exception - The exception to be chained