com.ibm.commerce.payments.plugin
Class ApprovalExpiredException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.commerce.edp.api.BaseException
-
- com.ibm.commerce.payments.plugin.PluginException
-
- com.ibm.commerce.payments.plugin.FinancialException
-
- com.ibm.commerce.payments.plugin.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 Summary
Constructors Constructor and Description ApprovalExpiredException()
This method is a default constructor.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.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.ApprovalExpiredException(java.lang.Throwable exception)
This method is a constructor with a chained exception.
-
Method Summary
-
Methods inherited from class com.ibm.commerce.payments.plugin.PluginException
getCredit, getFinancialTransaction, getPayment, getPaymentInstruction, setCredit, setFinancialTransaction, setPayment, setPaymentInstruction
-
Methods inherited from class com.ibm.commerce.edp.api.BaseException
addProperties, addProperties, addProperty, dumpException, getClassSource, getDefaultMessage, getFormatArguments, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageKey, getMethodSource, getPreviousException, getProperties, getResourceBundleName, setClassSource, setDefaultMessage, setFormatArguments, setMessageKey, setMethodSource, setPreviousException, setProperties, setResourceBundleName
-
-
-
-
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 messagemessageKey
- The key to identify the resource to generate a localized exceptionformatArguments
- An array of arguments to build the localized messagedefaultText
- 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 messagemessageKey
- The key to identify the resource to generate a localized exceptionformatArguments
- An array of arguments to build the localized messagedefaultText
- The message that is shown if the localized message cannot be generatedexception
- 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
-
-