com.elasticpath.domain.payment
Class PaymentGatewayException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.elasticpath.commons.exception.EpSystemException
                  extended by com.elasticpath.domain.EpDomainException
                      extended by com.elasticpath.domain.payment.PaymentGatewayException
All Implemented Interfaces:
java.io.Serializable

public class PaymentGatewayException
extends EpDomainException

This exception is thrown when the payment processor fails to process a request.

See Also:
Serialized Form

Constructor Summary
PaymentGatewayException(java.lang.String message)
          Constructor.
PaymentGatewayException(java.lang.String message, java.lang.Throwable cause)
          Creates a new PaymentGatewayException object using the given message and cause exception.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PaymentGatewayException

public PaymentGatewayException(java.lang.String message)
Constructor.

Parameters:
message - error message

PaymentGatewayException

public PaymentGatewayException(java.lang.String message,
                               java.lang.Throwable cause)
Creates a new PaymentGatewayException object using the given message and cause exception.

Parameters:
message - the reason for this PaymentGatewayException.
cause - the Throwable that caused this PaymentGatewayException.