org.csapi.jr.se.mm
Class MobilityError

java.lang.Object
  |
  +--org.csapi.jr.se.mm.MobilityError
All Implemented Interfaces:
java.io.Serializable

public final class MobilityError
extends java.lang.Object
implements java.io.Serializable

Defines an error that is reported by one of the mobility services.

See Also:
Serialized Form

Field Summary
static int _M_ABSENT_SUBSCRIBER
          Absent subscriber.
static int _M_OK
          No error occurred while processing the request.
static int _M_POSITION_METHOD_FAILURE
          Position method failure.
static int _M_SYSTEM_FAILURE
          System failure.
static int _M_UNAUTHORIZED_APPLICATION
          Unauthorised application.
static int _M_UNAUTHORIZED_NETWORK
          Unauthorised network, The requesting network is not authorised to obtain the user's location or status.
static int _M_UNKNOWN_SUBSCRIBER
          Unknown subscriber.
static org.csapi.jr.se.mm.MobilityError M_ABSENT_SUBSCRIBER
          Absent subscriber.
static org.csapi.jr.se.mm.MobilityError M_OK
          No error occurred while processing the request.
static org.csapi.jr.se.mm.MobilityError M_POSITION_METHOD_FAILURE
          Position method failure.
static org.csapi.jr.se.mm.MobilityError M_SYSTEM_FAILURE
          System failure.
static org.csapi.jr.se.mm.MobilityError M_UNAUTHORIZED_APPLICATION
          Unauthorised application.
static org.csapi.jr.se.mm.MobilityError M_UNAUTHORIZED_NETWORK
          Unauthorised network, The requesting network is not authorised to obtain the user's location or status.
static org.csapi.jr.se.mm.MobilityError M_UNKNOWN_SUBSCRIBER
          Unknown subscriber.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.mm.MobilityError getObject(int value)
          Accepts values in the range of 0 to 6
 int getValue()
          Number representing enum type
 java.lang.String getValueText()
          getValueText method, overrides the getValueText() method in class java.lang.Object
 int hashCode()
          Returns a hashcode value for the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_M_OK

public static final int _M_OK
No error occurred while processing the request.

See Also:
Constant Field Values

M_OK

public static final org.csapi.jr.se.mm.MobilityError M_OK
No error occurred while processing the request.


_M_SYSTEM_FAILURE

public static final int _M_SYSTEM_FAILURE
System failure. The request cannot be handled because of a general problem in the mobility service or the underlying network.

See Also:
Constant Field Values

M_SYSTEM_FAILURE

public static final org.csapi.jr.se.mm.MobilityError M_SYSTEM_FAILURE
System failure. The request cannot be handled because of a general problem in the mobility service or the underlying network.


_M_UNAUTHORIZED_NETWORK

public static final int _M_UNAUTHORIZED_NETWORK
Unauthorised network, The requesting network is not authorised to obtain the user's location or status.

See Also:
Constant Field Values

M_UNAUTHORIZED_NETWORK

public static final org.csapi.jr.se.mm.MobilityError M_UNAUTHORIZED_NETWORK
Unauthorised network, The requesting network is not authorised to obtain the user's location or status.


_M_UNAUTHORIZED_APPLICATION

public static final int _M_UNAUTHORIZED_APPLICATION
Unauthorised application. The application is not authorised to obtain the user's location or status.

See Also:
Constant Field Values

M_UNAUTHORIZED_APPLICATION

public static final org.csapi.jr.se.mm.MobilityError M_UNAUTHORIZED_APPLICATION
Unauthorised application. The application is not authorised to obtain the user's location or status.


_M_UNKNOWN_SUBSCRIBER

public static final int _M_UNKNOWN_SUBSCRIBER
Unknown subscriber. The user is unknown, that is no such subscription exists.

See Also:
Constant Field Values

M_UNKNOWN_SUBSCRIBER

public static final org.csapi.jr.se.mm.MobilityError M_UNKNOWN_SUBSCRIBER
Unknown subscriber. The user is unknown, that is no such subscription exists.


_M_ABSENT_SUBSCRIBER

public static final int _M_ABSENT_SUBSCRIBER
Absent subscriber. The user is currently not reachable.

See Also:
Constant Field Values

M_ABSENT_SUBSCRIBER

public static final org.csapi.jr.se.mm.MobilityError M_ABSENT_SUBSCRIBER
Absent subscriber. The user is currently not reachable.


_M_POSITION_METHOD_FAILURE

public static final int _M_POSITION_METHOD_FAILURE
Position method failure. The mobility service failed to obtain the user's position.

See Also:
Constant Field Values

M_POSITION_METHOD_FAILURE

public static final org.csapi.jr.se.mm.MobilityError M_POSITION_METHOD_FAILURE
Position method failure. The mobility service failed to obtain the user's position.

Method Detail

getValue

public int getValue()
Number representing enum type

Returns:
int number representing type of object, this is defined within the class

getValueText

public java.lang.String getValueText()
getValueText method, overrides the getValueText() method in class java.lang.Object

Returns:
String The stringified version of the MobilityError object

getObject

public static org.csapi.jr.se.mm.MobilityError getObject(int value)
                                                  throws InvalidEnumValueException
Accepts values in the range of 0 to 6

Parameters:
value - number representing type of object, this is defined within the class
Throws:
InvalidEnumValueException - thrown if invalid value is passed into method

equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object