com.motorola.oem.network
Class NetworkUSSDException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.motorola.oem.OEMException
              extended by com.motorola.oem.network.NetworkUSSDException

public class NetworkUSSDException
extends OEMException

Exception type for NetworkUSSD class.


Field Summary
static int PLATFORM_ERROR
          USSD Platform Error
static int SYNTAX_ERROR
          USSD Syntax Error
static int UNSUPPORTED_DCS_ERROR
          USSD Unsupported DCS Error
 
Fields inherited from class com.motorola.oem.OEMException
CONFIGURATION_ERROR, CONSTRUCT_CLASS_ERROR, GENERAL_ERROR, ILLEGAL_PARAM_ERROR
 
Constructor Summary
NetworkUSSDException(int errorCode, java.lang.String errorMessage)
          Constructs a NetworkUSSDException object 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

PLATFORM_ERROR

public static final int PLATFORM_ERROR
USSD Platform Error

See Also:
Constant Field Values

SYNTAX_ERROR

public static final int SYNTAX_ERROR
USSD Syntax Error

See Also:
Constant Field Values

UNSUPPORTED_DCS_ERROR

public static final int UNSUPPORTED_DCS_ERROR
USSD Unsupported DCS Error

See Also:
Constant Field Values
Constructor Detail

NetworkUSSDException

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

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