com.motorola.oem.access
Class AccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.motorola.oem.OEMException
              extended by com.motorola.oem.access.AccessException

public class AccessException
extends OEMException

Exception type for Access class.


Field Summary
static int CPHS_NOT_AVAIL_ERROR
          CPHS not available
static int ICC_NOT_AVAIL_ERROR
          ICC ID not available
static int INVALID_ACQUIRE_HANLE_ERROR
          Unable to register handler of confirmation event
static int INVALID_PIN1_ERROR
          Invalid SIM card
static int LANG_NOT_AVAIL_ERROR
          Preferred languages list not available
static int MEMORY_FAIL_ERROR
          Memory operation failed
static int NO_SIM_ERROR
          SIM card not inserted
static int OPERATION_NOT_ALLOWED_ERROR
          SIM Operation not allowed
static int PASSWORD_SYNTAX_ERROR
          Syntax error in PIN1 code
static int PHONE_FAIL_ERROR
          Phone failure
static int PHONEBOOK_READ_FAIL_ERROR
          Phone Book read failure
static int PIN1_IS_BLOCKED_ERROR
          PIN1 is blocked
static int PIN1_IS_PERM_BLOCKED_ERROR
          PIN1 is permanently blocked
static int SERVICE_NOT_SUPPORTED_ERROR
          Service not supported
static int SIM_BUSY_ERROR
          SIM card busy
static int SIM_FAIL_ERROR
          SIM card failure
static int SIM_PIN1_IS_NOT_ACTIVE_ERROR
          SIM PIN1 is not active
static int SIM_PIN1_NO_SECRET_CODE_ERROR
          SIM PIN1 has no secret code
static int SIM_PIN1_REQUIRED_ERROR
          SIM PIN1 required
static int UNABLE_REGISTER_CNF_EVENT_ERROR
          Unable to register platform confirmation event
 
Fields inherited from class com.motorola.oem.OEMException
CONFIGURATION_ERROR, CONSTRUCT_CLASS_ERROR, GENERAL_ERROR, ILLEGAL_PARAM_ERROR
 
Constructor Summary
AccessException(int errorCode, java.lang.String errorMessage)
          Constructs AccessException with the specified error code and error message.
 
Method Summary
 
Methods inherited from class com.motorola.oem.OEMException
getErrorCode
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNABLE_REGISTER_CNF_EVENT_ERROR

public static final int UNABLE_REGISTER_CNF_EVENT_ERROR
Unable to register platform confirmation event

See Also:
Constant Field Values

INVALID_ACQUIRE_HANLE_ERROR

public static final int INVALID_ACQUIRE_HANLE_ERROR
Unable to register handler of confirmation event

See Also:
Constant Field Values

INVALID_PIN1_ERROR

public static final int INVALID_PIN1_ERROR
Invalid SIM card

See Also:
Constant Field Values

OPERATION_NOT_ALLOWED_ERROR

public static final int OPERATION_NOT_ALLOWED_ERROR
SIM Operation not allowed

See Also:
Constant Field Values

PASSWORD_SYNTAX_ERROR

public static final int PASSWORD_SYNTAX_ERROR
Syntax error in PIN1 code

See Also:
Constant Field Values

SERVICE_NOT_SUPPORTED_ERROR

public static final int SERVICE_NOT_SUPPORTED_ERROR
Service not supported

See Also:
Constant Field Values

PIN1_IS_BLOCKED_ERROR

public static final int PIN1_IS_BLOCKED_ERROR
PIN1 is blocked

See Also:
Constant Field Values

PIN1_IS_PERM_BLOCKED_ERROR

public static final int PIN1_IS_PERM_BLOCKED_ERROR
PIN1 is permanently blocked

See Also:
Constant Field Values

MEMORY_FAIL_ERROR

public static final int MEMORY_FAIL_ERROR
Memory operation failed

See Also:
Constant Field Values

SIM_BUSY_ERROR

public static final int SIM_BUSY_ERROR
SIM card busy

See Also:
Constant Field Values

SIM_FAIL_ERROR

public static final int SIM_FAIL_ERROR
SIM card failure

See Also:
Constant Field Values

NO_SIM_ERROR

public static final int NO_SIM_ERROR
SIM card not inserted

See Also:
Constant Field Values

PHONE_FAIL_ERROR

public static final int PHONE_FAIL_ERROR
Phone failure

See Also:
Constant Field Values

PHONEBOOK_READ_FAIL_ERROR

public static final int PHONEBOOK_READ_FAIL_ERROR
Phone Book read failure

See Also:
Constant Field Values

ICC_NOT_AVAIL_ERROR

public static final int ICC_NOT_AVAIL_ERROR
ICC ID not available

See Also:
Constant Field Values

CPHS_NOT_AVAIL_ERROR

public static final int CPHS_NOT_AVAIL_ERROR
CPHS not available

See Also:
Constant Field Values

LANG_NOT_AVAIL_ERROR

public static final int LANG_NOT_AVAIL_ERROR
Preferred languages list not available

See Also:
Constant Field Values

SIM_PIN1_IS_NOT_ACTIVE_ERROR

public static final int SIM_PIN1_IS_NOT_ACTIVE_ERROR
SIM PIN1 is not active

See Also:
Constant Field Values

SIM_PIN1_NO_SECRET_CODE_ERROR

public static final int SIM_PIN1_NO_SECRET_CODE_ERROR
SIM PIN1 has no secret code

See Also:
Constant Field Values

SIM_PIN1_REQUIRED_ERROR

public static final int SIM_PIN1_REQUIRED_ERROR
SIM PIN1 required

See Also:
Constant Field Values
Constructor Detail

AccessException

public AccessException(int errorCode,
                       java.lang.String errorMessage)
Constructs AccessException with the specified error code and error message.

Parameters:
errorMessage - error message to be used.
errorCode - error code of specific Access API exception type.