© 2003 BEA Systems, Inc.

com.beasys.commerce.ebusiness.payment
Class AuthorizationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.beasys.commerce.foundation.exception.ApplicationException
                    |
                    +--com.beasys.commerce.ebusiness.payment.PaymentException
                          |
                          +--com.beasys.commerce.ebusiness.payment.AuthorizationException
All Implemented Interfaces:
MessageCatalogException, Serializable

public class AuthorizationException
extends PaymentException

Represents the condition when there is a problem with a credit card that the customer can fix and retry. Example: Declined card, Expired card

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.beasys.commerce.foundation.exception.ApplicationException
embeddedException, logMessages, userMessages
 
Constructor Summary
AuthorizationException(String namespace, String messageKey)
          Create a AuthorizationException with namespace and messageKey.
AuthorizationException(String namespace, String messageKey, TransactionResponse response)
          Create a AuthorizationException with the response object.
 
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

AuthorizationException

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

Parameters:
namespace - The associated catalog namespace.

AuthorizationException

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

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

© 2003 BEA Systems, Inc.

Copyright © 2003 BEA Systems, Inc. All Rights Reserved