com.jp.protection.pub.pro.lserver
Enum LicensingServiceResult.ErrorCode

java.lang.Object
  extended by java.lang.Enum<LicensingServiceResult.ErrorCode>
      extended by com.jp.protection.pub.pro.lserver.LicensingServiceResult.ErrorCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LicensingServiceResult.ErrorCode>
Enclosing interface:
LicensingServiceResult

public static enum LicensingServiceResult.ErrorCode
extends java.lang.Enum<LicensingServiceResult.ErrorCode>


Enum Constant Summary
ACCESS_DENIED
           
CPU_LIMIT_EXCEEDED
           
LICENSE_SESSION_LIMIT_EXCEEDED
           
MEMORY_LIMIT_EXCEEDED
           
NO_ALLOCATED_LICENSE
           
NONE
           
NUMBER_OF_COPIES_EXCEEDED
           
USAGE_LIMIT_EXCEEDED
           
 
Method Summary
static LicensingServiceResult.ErrorCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LicensingServiceResult.ErrorCode[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final LicensingServiceResult.ErrorCode NONE

NUMBER_OF_COPIES_EXCEEDED

public static final LicensingServiceResult.ErrorCode NUMBER_OF_COPIES_EXCEEDED

USAGE_LIMIT_EXCEEDED

public static final LicensingServiceResult.ErrorCode USAGE_LIMIT_EXCEEDED

CPU_LIMIT_EXCEEDED

public static final LicensingServiceResult.ErrorCode CPU_LIMIT_EXCEEDED

MEMORY_LIMIT_EXCEEDED

public static final LicensingServiceResult.ErrorCode MEMORY_LIMIT_EXCEEDED

LICENSE_SESSION_LIMIT_EXCEEDED

public static final LicensingServiceResult.ErrorCode LICENSE_SESSION_LIMIT_EXCEEDED

ACCESS_DENIED

public static final LicensingServiceResult.ErrorCode ACCESS_DENIED

NO_ALLOCATED_LICENSE

public static final LicensingServiceResult.ErrorCode NO_ALLOCATED_LICENSE
Method Detail

values

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

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

valueOf

public static LicensingServiceResult.ErrorCode 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