public class TransactionProcessorFailureException
extends java.lang.Exception
implements java.io.Serializable
transaction processor configured in the SAP CC system.
ITransactionProcessor,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static int |
ACCOUNT_CLOSED
Deprecated.
Do not remove this reason for compatibility with
ForbiddenChargeException |
static int |
ACCOUNT_DOESNT_EXIST
7: Reason code for an account that does not exist in the
subscriber account |
static int |
ACCOUNT_LOCKED
Deprecated.
Do not remove this reason for compatibility with
ForbiddenChargeException |
static int |
BAD_CONFIGURATION
2: Reason code for a bad configuration
|
static int |
CANNOT_CALCULATE_TAX
11: Unable to calculate tax
|
static int |
CANNOT_CHARGE_PREPAID_ACCOUNT
Deprecated.
Do not remove this reason for compatibility with
ForbiddenChargeException |
static int |
CANNOT_CREATE_ACCOUNT
Deprecated.
Do not remove this reason for compatibility with
ForbiddenChargeException |
static int |
CANNOT_STORE_TAX
17: Unable to calculate tax
|
static int |
CHARGER_COMMUNICATION_ERROR
Deprecated.
Do not remove this reason for compatibility with
ForbiddenChargeException |
static int |
CIF_EXCEPTION
16: Unable to communicate with one charge instance
|
static int |
DATABASE_FAILURE
0: Reason code for a back-end database error
|
static int |
INTERNAL_ERROR
-1: Other internal reason codes
|
static int |
INVALID_ACCOUNT_CURRENCY
Deprecated.
Do not remove this reason for compatibility with
ForbiddenChargeException |
static int |
INVALID_CHARGED_ITEM_CLASS
15: Charged item class is invalid
|
static int |
INVALID_CHARGED_ITEM_MAPPING
Deprecated.
Not used anymore
|
static int |
INVALID_REFILL_RECORD_CLASS
18: Refill record class is invalid
|
static int |
INVALID_RESERVATION_SESSION_ID
Deprecated.
Do not remove this reason for compatibility with
ForbiddenChargeException |
static int |
INVALID_TRANSACTION_SET
1: Reason code for an invalid transaction set
|
static int |
INVOICING_FORBIDDEN
Deprecated.
Do not remove this reason for compatibility with
ForbiddenChargeException |
static int |
UNABLE_TO_RECLEAR
10: Unable to use a reclear session
|
| Constructor and Description |
|---|
TransactionProcessorFailureException(int r,
java.lang.Exception e)
Builds the exception with a nested exception.
|
TransactionProcessorFailureException(int r,
java.lang.String message)
Builds the exception with a simple message.
|
TransactionProcessorFailureException(int r,
java.lang.String message,
java.lang.Exception e)
Builds the exception with a nested exception and a message.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Exception |
getException()
Returns the
nested exception. |
java.lang.String |
getMessage()
Returns the exception message.
|
int |
getReason()
Returns the reason of the exception.
|
public static final int DATABASE_FAILURE
public static final int INVALID_TRANSACTION_SET
public static final int BAD_CONFIGURATION
@Deprecated public static final int INVALID_ACCOUNT_CURRENCY
ForbiddenChargeException@Deprecated public static final int ACCOUNT_LOCKED
ForbiddenChargeException@Deprecated public static final int ACCOUNT_CLOSED
ForbiddenChargeException@Deprecated public static final int CANNOT_CREATE_ACCOUNT
ForbiddenChargeExceptionpublic static final int ACCOUNT_DOESNT_EXIST
subscriber account@Deprecated public static final int CANNOT_CHARGE_PREPAID_ACCOUNT
ForbiddenChargeException@Deprecated public static final int INVOICING_FORBIDDEN
ForbiddenChargeExceptionpublic static final int UNABLE_TO_RECLEAR
public static final int CANNOT_CALCULATE_TAX
@Deprecated public static final int INVALID_RESERVATION_SESSION_ID
ForbiddenChargeException@Deprecated public static final int CHARGER_COMMUNICATION_ERROR
ForbiddenChargeException@Deprecated public static final int INVALID_CHARGED_ITEM_MAPPING
public static final int INVALID_CHARGED_ITEM_CLASS
public static final int CIF_EXCEPTION
public static final int CANNOT_STORE_TAX
public static final int INVALID_REFILL_RECORD_CLASS
public static final int INTERNAL_ERROR
public TransactionProcessorFailureException(int r,
java.lang.Exception e)
e - The nested exceptionr - The reasonpublic TransactionProcessorFailureException(int r,
java.lang.String message)
message - The message which will be printed (if not null)
if this exception occursr - The reasonpublic TransactionProcessorFailureException(int r,
java.lang.String message,
java.lang.Exception e)
message - The message which will be printed (if not null)
if this exception occurse - The nested exceptionr - The reason of the exceptionpublic int getReason()
public java.lang.Exception getException()
nested exception.public java.lang.String getMessage()
getMessage in class java.lang.Throwablenull or
the nested exception message otherwise