public class

MPOSError

extends Object
java.lang.Object
   ↳ com.samsung.android.knox.mpos.MPOSError

Class Overview

These constants indicate the possible error code related to an operation.

Summary

Constants
int ERROR_COMMUNICATION_FAILED errorCodes to indicate communication fail.
int ERROR_DEVICE_INTEGRITY errorCodes to indicate device integrity fail.
int ERROR_DEVICE_INTERNAL errorCodes to indicate device error.
int ERROR_DEVICE_NOT_SUPPORTED errorCodes to indicate device is not supported.
int ERROR_FAIL errorCodes to indicate failure for specific request.
int ERROR_FILE_NOT_EXIST errorCodes to indicate file doesn't exist.
int ERROR_FUNCTION_NOT_SUPPORTED errorCodes to indicate the request function is not supported.
int ERROR_INPUT_PIN_LENGTH_SHORT errorCodes to indicate inputted pin is too short.
int ERROR_INVALID_BACKGROUND_IMAGE errorCodes to indicate invalid image of background image.
int ERROR_INVALID_INPUT errorCodes to indicate invalid input.
int ERROR_INVALID_NONCE errorCodes to indicate invalid nonce.
int ERROR_INVALID_PAYMENT_INFO errorCodes to indicate invalid payment info.
int ERROR_INVALID_PIN errorCodes to indicate invalid pin.
int ERROR_INVALID_PINBOX_IMAGE errorCodes to indicate invalid image of pinbox.
int ERROR_INVALID_PINDOT_IMAGE errorCodes to indicate invalid image of pindot.
int ERROR_INVALID_PINPAD_IMAGE errorCodes to indicate invalid image of pinpad.
int ERROR_INVALID_SOFTKEY_IMAGE errorCodes to indicate invalid image of softkey.
int ERROR_NONE indicate success.
int ERROR_NOT_EXIST errorCodes to indicate target doesn't exist.
int ERROR_PERMISSION_DENIED errorCodes to indicate permission denied.
int ERROR_UNKNOWN errorCodes to indicate unknown error.
Public Methods
int getError()
API to get errorCode
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int ERROR_COMMUNICATION_FAILED

errorCodes to indicate communication fail.

Constant Value: -6 (0xfffffffa)

public static final int ERROR_DEVICE_INTEGRITY

errorCodes to indicate device integrity fail.

Constant Value: -7 (0xfffffff9)

public static final int ERROR_DEVICE_INTERNAL

errorCodes to indicate device error.

Constant Value: -9 (0xfffffff7)

public static final int ERROR_DEVICE_NOT_SUPPORTED

errorCodes to indicate device is not supported.

Constant Value: -2 (0xfffffffe)

public static final int ERROR_FAIL

errorCodes to indicate failure for specific request.

Constant Value: -12 (0xfffffff4)

public static final int ERROR_FILE_NOT_EXIST

errorCodes to indicate file doesn't exist.

Constant Value: -10 (0xfffffff6)

public static final int ERROR_FUNCTION_NOT_SUPPORTED

errorCodes to indicate the request function is not supported.

Constant Value: -13 (0xfffffff3)

public static final int ERROR_INPUT_PIN_LENGTH_SHORT

errorCodes to indicate inputted pin is too short.

Constant Value: -98 (0xffffff9e)

public static final int ERROR_INVALID_BACKGROUND_IMAGE

errorCodes to indicate invalid image of background image.

Constant Value: -104 (0xffffff98)

public static final int ERROR_INVALID_INPUT

errorCodes to indicate invalid input.

Constant Value: -99 (0xffffff9d)

public static final int ERROR_INVALID_NONCE

errorCodes to indicate invalid nonce.

Constant Value: -3 (0xfffffffd)

public static final int ERROR_INVALID_PAYMENT_INFO

errorCodes to indicate invalid payment info.

Constant Value: -5 (0xfffffffb)

public static final int ERROR_INVALID_PIN

errorCodes to indicate invalid pin.

Constant Value: -4 (0xfffffffc)

public static final int ERROR_INVALID_PINBOX_IMAGE

errorCodes to indicate invalid image of pinbox.

Constant Value: -101 (0xffffff9b)

public static final int ERROR_INVALID_PINDOT_IMAGE

errorCodes to indicate invalid image of pindot.

Constant Value: -102 (0xffffff9a)

public static final int ERROR_INVALID_PINPAD_IMAGE

errorCodes to indicate invalid image of pinpad.

Constant Value: -100 (0xffffff9c)

public static final int ERROR_INVALID_SOFTKEY_IMAGE

errorCodes to indicate invalid image of softkey.

Constant Value: -103 (0xffffff99)

public static final int ERROR_NONE

indicate success.

Constant Value: 0 (0x00000000)

public static final int ERROR_NOT_EXIST

errorCodes to indicate target doesn't exist.

Constant Value: -11 (0xfffffff5)

public static final int ERROR_PERMISSION_DENIED

errorCodes to indicate permission denied.

Constant Value: -8 (0xfffffff8)

public static final int ERROR_UNKNOWN

errorCodes to indicate unknown error.

Constant Value: -1 (0xffffffff)

Public Methods

public int getError ()

API to get errorCode

Returns
  • errorCode.