com.hqme.cm
Enum HqmeError

java.lang.Object
  extended by java.lang.Enum<HqmeError>
      extended by com.hqme.cm.HqmeError
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HqmeError>

public enum HqmeError
extends java.lang.Enum<HqmeError>


Enum Constant Summary
ERR_CANCEL_FAILED
           
ERR_GENERAL
           
ERR_INVALID_ARGUMENT
           
ERR_INVALID_POLICY
           
ERR_INVALID_PROPERTY
           
ERR_INVALID_REQUEST_ID
           
ERR_IO
           
ERR_NOT_FOUND
           
ERR_NOT_SUPPORTED
           
ERR_PENDING_OPERATION
           
ERR_PERMISSION_DENIED
           
ERR_RESUME_FAILED
           
ERR_SUSPEND_FAILED
           
ERR_TIMEOUT
           
ERR_UNKNOWN
           
ERR_VSD_UNAVAILABLE
           
STATUS_SUCCESS
           
 
Method Summary
static HqmeError fromInt(int i)
           
 int getCode()
           
 java.lang.String getDescription()
           
static HqmeError valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HqmeError[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STATUS_SUCCESS

public static final HqmeError STATUS_SUCCESS

ERR_INVALID_ARGUMENT

public static final HqmeError ERR_INVALID_ARGUMENT

ERR_NOT_FOUND

public static final HqmeError ERR_NOT_FOUND

ERR_TIMEOUT

public static final HqmeError ERR_TIMEOUT

ERR_PENDING_OPERATION

public static final HqmeError ERR_PENDING_OPERATION

ERR_IO

public static final HqmeError ERR_IO

ERR_NOT_SUPPORTED

public static final HqmeError ERR_NOT_SUPPORTED

ERR_PERMISSION_DENIED

public static final HqmeError ERR_PERMISSION_DENIED

ERR_VSD_UNAVAILABLE

public static final HqmeError ERR_VSD_UNAVAILABLE

ERR_INVALID_REQUEST_ID

public static final HqmeError ERR_INVALID_REQUEST_ID

ERR_CANCEL_FAILED

public static final HqmeError ERR_CANCEL_FAILED

ERR_SUSPEND_FAILED

public static final HqmeError ERR_SUSPEND_FAILED

ERR_RESUME_FAILED

public static final HqmeError ERR_RESUME_FAILED

ERR_INVALID_POLICY

public static final HqmeError ERR_INVALID_POLICY

ERR_INVALID_PROPERTY

public static final HqmeError ERR_INVALID_PROPERTY

ERR_GENERAL

public static final HqmeError ERR_GENERAL

ERR_UNKNOWN

public static final HqmeError ERR_UNKNOWN
Method Detail

values

public static HqmeError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (HqmeError c : HqmeError.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static HqmeError valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

fromInt

public static HqmeError fromInt(int i)

getDescription

public java.lang.String getDescription()

getCode

public int getCode()