com.beasys.commerce.ebusiness.payment
Class PaymentException

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
All Implemented Interfaces
MessageCatalogException, Serializable
Direct Known Subclasses:
AuthorizationException, CaptureException, GeneralServiceException, InvalidCreditCardException, ServiceConfigurationException, ServiceUnavailableException, SettleException

Deprecated See BEA Commerce product offering

@Deprecated
public class PaymentException
extends ApplicationException

The base class of all payment related exceptions. If a TransactionResponse resulted in the exception it is embedded.

See Also
Serialized Form

Field Summary
 
Fields inherited from class com.beasys.commerce.foundation.exception.ApplicationException
embeddedException, logMessages, userMessages
 
Constructor Summary
PaymentException(String namespace, String messageKey)
          Deprecated See BEA Commerce product offering
PaymentException(String namespace, String messageKey, Exception embeddedException)
          Deprecated See BEA Commerce product offering
PaymentException(String namespace, String messageKey, Object messageParameter)
          Deprecated See BEA Commerce product offering
PaymentException(String namespace, String messageKey, TransactionResponse response)
          Deprecated See BEA Commerce product offering
 
Method Summary
 TransactionResponse getResponse()
          Deprecated See BEA Commerce product offering
 
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

PaymentException

public PaymentException(String namespace,
                        String messageKey)
Deprecated See BEA Commerce product offering

Create a payment exception with namespace and message key.

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

PaymentException

public PaymentException(String namespace,
                        String messageKey,
                        TransactionResponse response)
Deprecated See BEA Commerce product offering

Create a payment exception with the response object.

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

PaymentException

public PaymentException(String namespace,
                        String messageKey,
                        Exception embeddedException)
Deprecated See BEA Commerce product offering

Create a payment exception with an embedded exception.

Parameters
namespace - The associated catalog namespace.
mesageKey - The associated catalog messageKey.
embeddedException - The exception embedded in this payment exception.

PaymentException

public PaymentException(String namespace,
                        String messageKey,
                        Object messageParameter)
Deprecated See BEA Commerce product offering

Create a payment exception with a message parameter.

Parameters
namespace - The associated catalog namespace.
mesageKey - The associated catalog messageKey.
messageParameter - The messageParameter.
Method Detail

getResponse

public TransactionResponse getResponse()
Deprecated See BEA Commerce product offering

Get the TransactionReponse that resulted in the exception.

Returns
TransactionResponse


Copyright © 2008 BEA Systems, Inc. All Rights Reserved