com.motorola.oem
Class OEMException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.motorola.oem.OEMException
Direct Known Subclasses:
A2dException, AccessException, CallException, GpioException, NetworkException, NetworkUSSDException, OSCException, OTAException, WebSessionException

public class OEMException
extends java.lang.Exception

Parent Exception class to all OEM Exceptions.


Field Summary
static int CONFIGURATION_ERROR
          Configuration error code
static int CONSTRUCT_CLASS_ERROR
          Failed to construct class
static int GENERAL_ERROR
          General error code
static int ILLEGAL_PARAM_ERROR
          Illegal Param error code
 
Method Summary
 int getErrorCode()
          get error code of this exception instance
 
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

GENERAL_ERROR

public static final int GENERAL_ERROR
General error code

See Also:
Constant Field Values

ILLEGAL_PARAM_ERROR

public static final int ILLEGAL_PARAM_ERROR
Illegal Param error code

See Also:
Constant Field Values

CONFIGURATION_ERROR

public static final int CONFIGURATION_ERROR
Configuration error code

See Also:
Constant Field Values

CONSTRUCT_CLASS_ERROR

public static final int CONSTRUCT_CLASS_ERROR
Failed to construct class

See Also:
Constant Field Values
Method Detail

getErrorCode

public int getErrorCode()
get error code of this exception instance

Returns:
exceptionErrorCode exception error code