|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.dtt.ca.response.ResponseEvent
it.dtt.ca.response.FailureResponseEvent
public class FailureResponseEvent
Event generated in case of failure of a request/response process.
Field Summary | |
---|---|
static int |
ALREADY_PURCHASED
Notifies it's impossible to buy the event because the user already have rights to watch it. |
static int |
CARD_BLOCKED
Notifies the card is blocked. |
static int |
CARD_DAMAGED
Notifies no card is inserted |
static int |
CARD_ERROR
Notifies a generic communication error with the smart card. |
static int |
CARD_EXPIRED
Notifies the card is expired. |
static int |
CARD_MUTED
Notifies the card is muted. |
static int |
CARD_REMOVED
Notifies the card was removed during the process. |
static int |
CONNECTION_ERROR
Notifies the recharge ended with a failure due to a connection problem. |
static int |
CREDIT_LACK
Notifies the credit is not sufficient to proceed buying the PPV event. |
static int |
GENERIC_ERROR
Generic error. |
static int |
GENERIC_TRANSACTION_PARAMETER_ERROR
Notifies the recharge ended with a failure because any of the parameters used in the transaction were wrong. |
static int |
INVALID_SCRATCH
Notifies the recharge ended with a failure due to a wrong scratch card number. |
static int |
MAXIMUM_CREDIT
Notifies the recharge ended with a failure because the user reached the maximum allowed credit. |
static int |
NO_OFFERS
Notifies no events are offered currently. |
static int |
PIN_ERROR
In case the entered pin code was wrong. |
static int |
PIN_REQUIRED
In case the application passed a NULL pin while it was needed. |
static int |
PURCHASE_TIME_ENDED
Notifies the purchase time ended while proceeding with purchase. |
static int |
SMS_DENIAL
Notifies the SMS denied the recharge to success. |
static int |
UNSUPPORTED_FEATURE
Notifies this feature is not supported |
Constructor Summary | |
---|---|
FailureResponseEvent(CARequest request,
int errorCode)
Constructs a FailureResponseEvent. |
Method Summary | |
---|---|
int |
getErrorCode()
Retrieves the error code identifying the reason for which the specific request failed. |
Methods inherited from class it.dtt.ca.response.ResponseEvent |
---|
getRequest |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PIN_REQUIRED
public static final int PIN_ERROR
public static final int CARD_BLOCKED
public static final int CARD_MUTED
public static final int CARD_EXPIRED
public static final int CREDIT_LACK
public static final int CARD_REMOVED
public static final int CARD_ERROR
public static final int PURCHASE_TIME_ENDED
public static final int ALREADY_PURCHASED
public static final int SMS_DENIAL
public static final int CONNECTION_ERROR
public static final int INVALID_SCRATCH
public static final int MAXIMUM_CREDIT
public static final int GENERIC_TRANSACTION_PARAMETER_ERROR
public static final int CARD_DAMAGED
public static final int UNSUPPORTED_FEATURE
public static final int NO_OFFERS
public static final int GENERIC_ERROR
Constructor Detail |
---|
public FailureResponseEvent(CARequest request, int errorCode)
request
- the CARequest object that generated this response.errorCode
- error code for failure.Method Detail |
---|
public int getErrorCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |