JavaScript is disabled on your browser.
Enum Constant Summary
Enum Constants
Field Summary
Fields
private org.springframework.http.HttpStatus
Constructor Summary
Constructors
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
org.springframework.http.HttpStatus
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
NO_SUCH_OPERATOR
public static final ErrorCode NO_SUCH_OPERATOR
INVALID_NEW_PASSWORD
public static final ErrorCode INVALID_NEW_PASSWORD
WEAK_NEW_PASSWORD
public static final ErrorCode WEAK_NEW_PASSWORD
LAST_USER_WHO_CAN_CREATE_USERS
public static final ErrorCode LAST_USER_WHO_CAN_CREATE_USERS
ROLE_ALREADY_EXISTS
public static final ErrorCode ROLE_ALREADY_EXISTS
INVALID_FILTER_PROPERTY
public static final ErrorCode INVALID_FILTER_PROPERTY
ALREADY_SOFT_DELETED
public static final ErrorCode ALREADY_SOFT_DELETED
ALREADY_RESTORED
public static final ErrorCode ALREADY_RESTORED
Field Details
defaultMessage
private final String defaultMessage
status
private org.springframework.http.HttpStatus status
Constructor Details
ErrorCode
private ErrorCode (Integer code,
String defaultMessage,
org.springframework.http.HttpStatus status)
Method Details
values
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (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:
IllegalArgumentException - if this enum class has no constant with the specified name
NullPointerException - if the argument is null
getDefaultMessage
public String getDefaultMessage ()
getStatus
public org.springframework.http.HttpStatus getStatus ()