AuthorizationException Class

com.beasys.commerce.ebusiness.payment
AuthorizationException Class

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


Hierarchy
Object
  Throwable
    Exception
      ApplicationException
        PaymentException
          AuthorizationException
All Implemented Interfaces

MessageCatalogException, Serializable

Field Summary

   
Fields from  com.beasys.commerce.foundation.exception.ApplicationException
embeddedException, logMessages, userMessages
 

Constructor Summary

AuthorizationException(String namespace, String messageKey, TransactionResponse response)

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

Create a AuthorizationException with namespace and messageKey.
 

Method Summary

 
Methods from  com.beasys.commerce.ebusiness.payment.PaymentException
getResponse
 
Methods from  com.beasys.commerce.foundation.exception.ApplicationException
addLogMessage, addLogMessage, addLogMessage, addMessage, addMessage, addMessage, addUserMessage, addUserMessage, addUserMessage, getEmbeddedException, getLocalizedMessage, getLogMessage, getLogMessages, getMessage, getUserMessage, getUserMessages, toString
 
Methods from  java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.beasys.commerce.foundation.exception.MessageCatalogException
addLogMessage, addLogMessage, addLogMessage, addMessage, addMessage, addMessage, addUserMessage, addUserMessage, addUserMessage, getEmbeddedException, getLogMessage, getLogMessages, getUserMessage, getUserMessages
 

Constructor Detail

AuthorizationException

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

AuthorizationException

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