public static enum SessionException.Reason extends Enum<SessionException.Reason>
| Enum Constant and Description | 
|---|
| ACQUIREDThe specified session was already acquired. | 
| ALREADY_EXISTThe specified session already exists. | 
| BROKENThe specified session was broken. | 
| NOT_EXISTThe specified session does not exist. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getDescription()Returns the description of this reason. | 
| String | toString() | 
| static SessionException.Reason | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static SessionException.Reason[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final SessionException.Reason ALREADY_EXIST
public static final SessionException.Reason NOT_EXIST
public static final SessionException.Reason ACQUIRED
public static final SessionException.Reason BROKEN
public static SessionException.Reason[] values()
for (SessionException.Reason c : SessionException.Reason.values()) System.out.println(c);
public static SessionException.Reason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getDescription()
public String toString()
toString in class Enum<SessionException.Reason>Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.