com.genesyslab.ail.exception
Class NoAvailableDnException.Reason

java.lang.Object
  extended by com.genesyslab.ail.Enum
      extended by com.genesyslab.ail.exception.NoAvailableDnException.Reason
Enclosing class:
NoAvailableDnException

public static class NoAvailableDnException.Reason
extends Enum

Constants for the reasons why no Dn is available.


Field Summary
static NoAvailableDnException.Reason ABSENT
          There is no Dn of the given type configured on this Place.
static int ABSENT_
          There is no Dn of the given type configured on this Place.
static NoAvailableDnException.Reason BUSY
          All the Dn of the given type on this Place are busy.
static int BUSY_
          All the Dn of the given type on this Place are busy.
static int MAX
          The number of defined constants, also the next usable value for the possible constants.
 
Fields inherited from class com.genesyslab.ail.Enum
CONSTANTS_RANGE
 
Method Summary
static NoAvailableDnException.Reason getReason(int value)
          Returns the Reason for this value.
static int max()
          The number of defined constants, also the next usable value for the possible constants.
 
Methods inherited from class com.genesyslab.ail.Enum
equals, hashCode, toInt, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ABSENT_

public static final int ABSENT_
There is no Dn of the given type configured on this Place.

See Also:
Constant Field Values

ABSENT

public static final NoAvailableDnException.Reason ABSENT
There is no Dn of the given type configured on this Place.


BUSY_

public static final int BUSY_
All the Dn of the given type on this Place are busy.

See Also:
Constant Field Values

BUSY

public static final NoAvailableDnException.Reason BUSY
All the Dn of the given type on this Place are busy.


MAX

public static final int MAX
The number of defined constants, also the next usable value for the possible constants.

See Also:
Constant Field Values
Method Detail

max

public static final int max()
The number of defined constants, also the next usable value for the possible constants.


getReason

public static final NoAvailableDnException.Reason getReason(int value)
Returns the Reason for this value.