|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Object Enum<ErrorType> ErrorType
public enum ErrorType
Types of errors that can occur during reservation requests
ReservationMessage
Enum Constant Summary | |
---|---|
NO_AR_SUPPORT
Indicates that the resource does not support reservations |
|
NO_ERROR
Indicates that no error has happened |
|
OPERATION_FAILURE
Indicates that the operation requested could not be fulfilled |
|
OPERATION_FAILURE_BUT_OPTIONS
Indicates that the operation requested could not be fulfilled, but advance reservation options are provided |
Method Summary | |
---|---|
String |
getDescription()
Returns a description of this error code. |
static ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ErrorType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ErrorType NO_ERROR
public static final ErrorType NO_AR_SUPPORT
public static final ErrorType OPERATION_FAILURE
public static final ErrorType OPERATION_FAILURE_BUT_OPTIONS
Method Detail |
---|
public static ErrorType[] values()
for (ErrorType c : ErrorType.values()) System.out.println(c);
public static ErrorType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getDescription()
|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |