com.beasys.commerce.ebusiness.payment
Class InvalidCreditCardException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.beasys.commerce.foundation.exception.ApplicationException
              extended by com.beasys.commerce.ebusiness.payment.PaymentException
                  extended by com.beasys.commerce.ebusiness.payment.InvalidCreditCardException
All Implemented Interfaces
MessageCatalogException, Serializable

public class InvalidCreditCardException
extends PaymentException

This is exception is thrown when the credit card is not valid and cannot be retried. Example: invalid credit card number

See Also
Serialized Form

Field Summary
 
Fields inherited from class com.beasys.commerce.foundation.exception.ApplicationException
embeddedException, logMessages, userMessages
 
Constructor Summary
InvalidCreditCardException(String namespace, String messageKey)
          Create a InvalidCreditCardException with namespace and messageKey.
InvalidCreditCardException(String namespace, String messageKey, TransactionResponse response)
          Create a InvalidCreditCardException with the response object.
 
Method Summary
 
Methods inherited from class com.beasys.commerce.ebusiness.payment.PaymentException
getResponse
 
Methods inherited from class com.beasys.commerce.foundation.exception.ApplicationException
addLogMessage, addLogMessage, addLogMessage, addMessage, addMessage, addMessage, addUserMessage, addUserMessage, addUserMessage, getEmbeddedException, getLocalizedMessage, getLogMessage, getLogMessages, getMessage, getUserMessage, getUserMessages, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidCreditCardException

public InvalidCreditCardException(String namespace,
                                  String messageKey)
Create a InvalidCreditCardException with namespace and messageKey.

Parameters
namespace - The associated catalog namespace.
messageKey - The associated catalog messageKey.

InvalidCreditCardException

public InvalidCreditCardException(String namespace,
                                  String messageKey,
                                  TransactionResponse response)
Create a InvalidCreditCardException with the response object.

Parameters
namespace - The associated catalog namespace.
mesageKey - The associated catalog messageKey.
response - The service provider specifc response object.


Copyright © 2006 BEA Systems, Inc. All Rights Reserved