Enum BadRequestException.Reason
- java.lang.Object
-
- java.lang.Enum<BadRequestException.Reason>
-
- com.kii.cloud.storage.exception.app.BadRequestException.Reason
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BadRequestException.Reason>
- Enclosing class:
- BadRequestException
public static enum BadRequestException.Reason extends java.lang.Enum<BadRequestException.Reason>
Represents failure reason
-
-
Enum Constant Summary
Enum Constants Enum Constant Description __UNKNOWN__
INVALID_ACCOUNT_STATUS
INVALID_BUCKET
INVALID_INPUT_DATA
INVALID_JSON
PASSWORD_TOO_SHORT
QUERY_NOT_SUPPORTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BadRequestException.Reason
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BadRequestException.Reason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID_JSON
public static final BadRequestException.Reason INVALID_JSON
-
INVALID_BUCKET
public static final BadRequestException.Reason INVALID_BUCKET
-
QUERY_NOT_SUPPORTED
public static final BadRequestException.Reason QUERY_NOT_SUPPORTED
-
INVALID_INPUT_DATA
public static final BadRequestException.Reason INVALID_INPUT_DATA
-
INVALID_ACCOUNT_STATUS
public static final BadRequestException.Reason INVALID_ACCOUNT_STATUS
-
PASSWORD_TOO_SHORT
public static final BadRequestException.Reason PASSWORD_TOO_SHORT
-
__UNKNOWN__
public static final BadRequestException.Reason __UNKNOWN__
-
-
Method Detail
-
values
public static BadRequestException.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 (BadRequestException.Reason c : BadRequestException.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 BadRequestException.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
-
-