org.csapi.jr.se.cc
Class CallErrorType

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

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

Defines a specific call error.

See Also:
Serialized Form

Field Summary
static int _CALL_ERROR_INVALID_ADDRESS
          The operation failed because an invalid address was given
static int _CALL_ERROR_INVALID_STATE
          The call was not in a valid state for the requested operation
static int _CALL_ERROR_RESOURCE_UNAVAILABLE
          There are not enough resources to complete the request successfully
static int _CALL_ERROR_UNDEFINED
          Undefined; the method failed or was refused, but no specific reason can be given.
static org.csapi.jr.se.cc.CallErrorType CALL_ERROR_INVALID_ADDRESS
          The operation failed because an invalid address was given
static org.csapi.jr.se.cc.CallErrorType CALL_ERROR_INVALID_STATE
          The call was not in a valid state for the requested operation
static org.csapi.jr.se.cc.CallErrorType CALL_ERROR_RESOURCE_UNAVAILABLE
          There are not enough resources to complete the request successfully
static org.csapi.jr.se.cc.CallErrorType CALL_ERROR_UNDEFINED
          Undefined; the method failed or was refused, but no specific reason can be given.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.cc.CallErrorType getObject(int value)
          Accepts values in the range of 0 to 3
 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

_CALL_ERROR_UNDEFINED

public static final int _CALL_ERROR_UNDEFINED
Undefined; the method failed or was refused, but no specific reason can be given.

See Also:
Constant Field Values

CALL_ERROR_UNDEFINED

public static final org.csapi.jr.se.cc.CallErrorType CALL_ERROR_UNDEFINED
Undefined; the method failed or was refused, but no specific reason can be given.


_CALL_ERROR_INVALID_ADDRESS

public static final int _CALL_ERROR_INVALID_ADDRESS
The operation failed because an invalid address was given

See Also:
Constant Field Values

CALL_ERROR_INVALID_ADDRESS

public static final org.csapi.jr.se.cc.CallErrorType CALL_ERROR_INVALID_ADDRESS
The operation failed because an invalid address was given


_CALL_ERROR_INVALID_STATE

public static final int _CALL_ERROR_INVALID_STATE
The call was not in a valid state for the requested operation

See Also:
Constant Field Values

CALL_ERROR_INVALID_STATE

public static final org.csapi.jr.se.cc.CallErrorType CALL_ERROR_INVALID_STATE
The call was not in a valid state for the requested operation


_CALL_ERROR_RESOURCE_UNAVAILABLE

public static final int _CALL_ERROR_RESOURCE_UNAVAILABLE
There are not enough resources to complete the request successfully

See Also:
Constant Field Values

CALL_ERROR_RESOURCE_UNAVAILABLE

public static final org.csapi.jr.se.cc.CallErrorType CALL_ERROR_RESOURCE_UNAVAILABLE
There are not enough resources to complete the request successfully

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 CallErrorType object

getObject

public static org.csapi.jr.se.cc.CallErrorType getObject(int value)
                                                  throws InvalidEnumValueException
Accepts values in the range of 0 to 3

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