Enum SystemException.Reason
- java.lang.Object
-
- java.lang.Enum<SystemException.Reason>
-
- com.kii.cloud.storage.exception.system.SystemException.Reason
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SystemException.Reason>
- Enclosing class:
- SystemException
public static enum SystemException.Reason extends java.lang.Enum<SystemException.Reason>
Represents failure reason
-
-
Enum Constant Summary
Enum Constants Enum Constant Description __UNKNOWN__
ACCOUNT_TYPE_NOT_SUPPORTED
APP_NOT_FOUND
BUCKET_TYPE_NOT_SUPPORTED
INVALID_DATA_TYPE
MISSING_DATA
OPERATION_NOT_ALLOWED
VERSIONED_UPDATES_NOT_SUPPORTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SystemException.Reason
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SystemException.Reason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APP_NOT_FOUND
public static final SystemException.Reason APP_NOT_FOUND
-
ACCOUNT_TYPE_NOT_SUPPORTED
public static final SystemException.Reason ACCOUNT_TYPE_NOT_SUPPORTED
-
BUCKET_TYPE_NOT_SUPPORTED
public static final SystemException.Reason BUCKET_TYPE_NOT_SUPPORTED
-
MISSING_DATA
public static final SystemException.Reason MISSING_DATA
-
INVALID_DATA_TYPE
public static final SystemException.Reason INVALID_DATA_TYPE
-
OPERATION_NOT_ALLOWED
public static final SystemException.Reason OPERATION_NOT_ALLOWED
-
VERSIONED_UPDATES_NOT_SUPPORTED
public static final SystemException.Reason VERSIONED_UPDATES_NOT_SUPPORTED
-
__UNKNOWN__
public static final SystemException.Reason __UNKNOWN__
-
-
Method Detail
-
values
public static SystemException.Reason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SystemException.Reason c : SystemException.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SystemException.Reason 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 namejava.lang.NullPointerException
- if the argument is null
-
-