PaymentException(int reason) Creates an instance of the PaymentException class with the
given reason.
public
PaymentException(int reason, String detail) Creates an instance of the PaymentException class with the
given reason and the detail message.
public
PaymentException(int reason, String param, String detail) Creates an instance of the PaymentException class with the
given reason, an additional string value which meaning depends on the
reason and the detail message.
final public static int INFORMATION_NOT_YET_VALID(Code)
The payment information is not yet valid.
INVALID_ADAPTER_CONFIGURATION
final public static int INVALID_ADAPTER_CONFIGURATION(Code)
The payment information contains an invalid PaymentSpecificInformation
field. The getParam() method returns the name of the
attribute which contains the invalid field.
INVALID_ATTRIBUTE_VALUE
final public static int INVALID_ATTRIBUTE_VALUE(Code)
The payment information contains an attribute with an invalid value. The
getParam() method returns the name of the attribute.
INVALID_PRICE_INFORMATION
final public static int INVALID_PRICE_INFORMATION(Code)
The payment information contains an invalid PaymentSpecificPrice-
Information field. The getParam() method returns the name
of the attribute which contains the invalid field.
INVALID_PROPERTIES_FORMAT
final public static int INVALID_PROPERTIES_FORMAT(Code)
The payment update file has an invalid properties file format.
INVALID_PROVIDER_CERT
final public static int INVALID_PROVIDER_CERT(Code)
The provider's certificate is invalid. The getParam() method
returns the subject name of the certificate.
The payment update file does not contain any certification chain which
can be verified.
SIGNATURE_VERIFICATION_FAILED
final public static int SIGNATURE_VERIFICATION_FAILED(Code)
The verification of the payment update file's signature has failed.
UNSUPPORTED_ADAPTERS
final public static int UNSUPPORTED_ADAPTERS(Code)
The device doesn't support any of the adapters listed in the payment
information file. The getParam() method returns the name of
the attribute which contains the adapter names.
UNSUPPORTED_PAYMENT_INFO
final public static int UNSUPPORTED_PAYMENT_INFO(Code)
The payment information has an unsupported version. The
getParam() method returns the number of this version.
UNSUPPORTED_PROVIDERS
final public static int UNSUPPORTED_PROVIDERS(Code)
The device doesn't support any of the adapters listed in the payment
information file. The getParam() method returns the name of
the attribute which contains the provider names.
UNSUPPORTED_UPDATE_CHARSET
final public static int UNSUPPORTED_UPDATE_CHARSET(Code)
The payment update file has an unsupported character set. The
getParam() method returns the character set name.
UNSUPPORTED_URL_SCHEME
final public static int UNSUPPORTED_URL_SCHEME(Code)
The device doesn't support the scheme of the update URL. The
getParam() method returns the update URL.
Creates an instance of the PaymentException class with the
given reason.
Parameters: reason - the reason
PaymentException
public PaymentException(int reason, String detail)(Code)
Creates an instance of the PaymentException class with the
given reason and the detail message.
Parameters: reason - the reason Parameters: detail - the detail message
Creates an instance of the PaymentException class with the
given reason, an additional string value which meaning depends on the
reason and the detail message.
Parameters: reason - the reason Parameters: param - the string value Parameters: detail - the detail message
Returns the full description of the exception. It uses the reason code,
the param value and the detail message to construct the description.
the full description of the exception