com.dotmarketing.util
Class CreditCardProcessorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.dotmarketing.util.CreditCardProcessorException
All Implemented Interfaces:
java.io.Serializable

public class CreditCardProcessorException
extends java.lang.Exception

This class is used by the CreditCardProcessor to anounce data and comunication errors in a credit card process.

Author:
David
See Also:
Serialized Form

Field Summary
static int COMMUNICATION_ERROR
          Code used for gateway comunication errors
static int DATA_MISSING
          Code used for erroneous or missing data in a credit card process;
 
Constructor Summary
CreditCardProcessorException(int code, java.lang.String message)
           
CreditCardProcessorException(int code, java.lang.String message, java.lang.Throwable ex)
           
 
Method Summary
 int getCode()
           
 java.lang.String getGatewayMessage()
           
 void setCode(int code)
           
 void setGatewayMessage(java.lang.String gatewayMessage)
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COMMUNICATION_ERROR

public static final int COMMUNICATION_ERROR
Code used for gateway comunication errors

See Also:
Constant Field Values

DATA_MISSING

public static final int DATA_MISSING
Code used for erroneous or missing data in a credit card process;

See Also:
Constant Field Values
Constructor Detail

CreditCardProcessorException

public CreditCardProcessorException(int code,
                                    java.lang.String message)

CreditCardProcessorException

public CreditCardProcessorException(int code,
                                    java.lang.String message,
                                    java.lang.Throwable ex)
Method Detail

getCode

public int getCode()

setCode

public void setCode(int code)

getGatewayMessage

public java.lang.String getGatewayMessage()

setGatewayMessage

public void setGatewayMessage(java.lang.String gatewayMessage)


Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.