com.beasys.commerce.ebusiness.payment
Class PaymentException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.beasys.commerce.foundation.exception.ApplicationException
|
+--com.beasys.commerce.ebusiness.payment.PaymentException
- All Implemented Interfaces:
- MessageCatalogException, java.io.Serializable
- Direct Known Subclasses:
- AuthorizationException, CaptureException, GeneralServiceException, InvalidCreditCardException, ServiceConfigurationException, ServiceUnavailableException, SettleException
- 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
Constructor Summary |
PaymentException(java.lang.String namespace,
java.lang.String messageKey)
Create a payment exception with namespace and message key. |
PaymentException(java.lang.String namespace,
java.lang.String messageKey,
java.lang.Exception embeddedException)
Create a payment exception with an embedded exception. |
PaymentException(java.lang.String namespace,
java.lang.String messageKey,
java.lang.Object messageParameter)
Create a payment exception with a message parameter. |
PaymentException(java.lang.String namespace,
java.lang.String messageKey,
TransactionResponse response)
Create a payment exception with the response object. |
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, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PaymentException
public PaymentException(java.lang.String namespace,
java.lang.String messageKey)
- Create a payment exception with namespace and message key.
- Parameters:
namespace
- The associated catalog namespace.mesageKey
- The associated catalog messageKey.
PaymentException
public PaymentException(java.lang.String namespace,
java.lang.String messageKey,
TransactionResponse response)
- 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(java.lang.String namespace,
java.lang.String messageKey,
java.lang.Exception embeddedException)
- 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(java.lang.String namespace,
java.lang.String messageKey,
java.lang.Object messageParameter)
- Create a payment exception with a message parameter.
- Parameters:
namespace
- The associated catalog namespace.mesageKey
- The associated catalog messageKey.messageParameter
- The messageParameter.
getResponse
public TransactionResponse getResponse()
- Get the TransactionReponse that resulted in the exception.
- Returns:
- TransactionResponse
Copyright © 2001 BEA Systems, Inc. All Rights Reserved