public static enum InvalidInstanceException.Reason extends Enum<InvalidInstanceException.Reason>
enumeration lists the possible reasons for the invalid instance exception.| Enum Constant and Description |
|---|
addressAlreadyUsed |
incompatibleIntanceType |
serviceAvailableRatherThanItIsForbidden |
serviceIsForAllInstancesOrNoInstance |
serviceNotAvailableRatherThanItIsMandatory |
tooManyBackups |
wrongInstanceIDForUniqueBackup |
| Modifier and Type | Method and Description |
|---|---|
static InvalidInstanceException.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InvalidInstanceException.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvalidInstanceException.Reason serviceAvailableRatherThanItIsForbidden
public static final InvalidInstanceException.Reason serviceNotAvailableRatherThanItIsMandatory
public static final InvalidInstanceException.Reason addressAlreadyUsed
public static final InvalidInstanceException.Reason incompatibleIntanceType
public static final InvalidInstanceException.Reason serviceIsForAllInstancesOrNoInstance
public static final InvalidInstanceException.Reason tooManyBackups
public static final InvalidInstanceException.Reason wrongInstanceIDForUniqueBackup
public static InvalidInstanceException.Reason[] values()
for (InvalidInstanceException.Reason c : InvalidInstanceException.Reason.values()) System.out.println(c);
public static InvalidInstanceException.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 null