org.csapi.jr.se.pam
Class PAMErrorCause

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

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

This defines the types of errors reported by PAM.

See Also:
Serialized Form

Field Summary
static int _PAM_CAUSE_EVENT_REGISTRATION_CANCELLED
          The registration for the event has been cancelled by the service.
static int _PAM_CAUSE_INFO_UNAVAILABLE
          The information is currently not available.
static int _PAM_CAUSE_INVALID_ADDRESS
          The request cannot be handled because the address specified is not valid.
static int _PAM_CAUSE_SYSTEM_FAILURE
          System failure.
static int _PAM_CAUSE_UNDEFINED
          Undefined.
static org.csapi.jr.se.pam.PAMErrorCause PAM_CAUSE_EVENT_REGISTRATION_CANCELLED
          The registration for the event has been cancelled by the service.
static org.csapi.jr.se.pam.PAMErrorCause PAM_CAUSE_INFO_UNAVAILABLE
          The information is currently not available.
static org.csapi.jr.se.pam.PAMErrorCause PAM_CAUSE_INVALID_ADDRESS
          The request cannot be handled because the address specified is not valid.
static org.csapi.jr.se.pam.PAMErrorCause PAM_CAUSE_SYSTEM_FAILURE
          System failure.
static org.csapi.jr.se.pam.PAMErrorCause PAM_CAUSE_UNDEFINED
          Undefined.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.pam.PAMErrorCause getObject(int value)
          Accepts values in the range of 0 to 4
 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

_PAM_CAUSE_UNDEFINED

public static final int _PAM_CAUSE_UNDEFINED
Undefined.

See Also:
Constant Field Values

PAM_CAUSE_UNDEFINED

public static final org.csapi.jr.se.pam.PAMErrorCause PAM_CAUSE_UNDEFINED
Undefined.


_PAM_CAUSE_INVALID_ADDRESS

public static final int _PAM_CAUSE_INVALID_ADDRESS
The request cannot be handled because the address specified is not valid.

See Also:
Constant Field Values

PAM_CAUSE_INVALID_ADDRESS

public static final org.csapi.jr.se.pam.PAMErrorCause PAM_CAUSE_INVALID_ADDRESS
The request cannot be handled because the address specified is not valid.


_PAM_CAUSE_SYSTEM_FAILURE

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

See Also:
Constant Field Values

PAM_CAUSE_SYSTEM_FAILURE

public static final org.csapi.jr.se.pam.PAMErrorCause PAM_CAUSE_SYSTEM_FAILURE
System failure. The request cannot be handled because of a general problem in the service or in the underlying network.


_PAM_CAUSE_INFO_UNAVAILABLE

public static final int _PAM_CAUSE_INFO_UNAVAILABLE
The information is currently not available.

See Also:
Constant Field Values

PAM_CAUSE_INFO_UNAVAILABLE

public static final org.csapi.jr.se.pam.PAMErrorCause PAM_CAUSE_INFO_UNAVAILABLE
The information is currently not available.


_PAM_CAUSE_EVENT_REGISTRATION_CANCELLED

public static final int _PAM_CAUSE_EVENT_REGISTRATION_CANCELLED
The registration for the event has been cancelled by the service.

See Also:
Constant Field Values

PAM_CAUSE_EVENT_REGISTRATION_CANCELLED

public static final org.csapi.jr.se.pam.PAMErrorCause PAM_CAUSE_EVENT_REGISTRATION_CANCELLED
The registration for the event has been cancelled by the service.

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

getObject

public static org.csapi.jr.se.pam.PAMErrorCause getObject(int value)
                                                   throws InvalidEnumValueException
Accepts values in the range of 0 to 4

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