public static enum ScopeConstants.ErrorMessages extends Enum<ScopeConstants.ErrorMessages>
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getMessage() |
String |
toString() |
static ScopeConstants.ErrorMessages |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScopeConstants.ErrorMessages[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScopeConstants.ErrorMessages ERROR_CODE_BAD_REQUEST_SCOPE_NAME_NOT_SPECIFIED
public static final ScopeConstants.ErrorMessages ERROR_CODE_BAD_REQUEST_SCOPE_DISPLAY_NAME_NOT_SPECIFIED
public static final ScopeConstants.ErrorMessages ERROR_CODE_NOT_FOUND_SCOPE
public static final ScopeConstants.ErrorMessages ERROR_CODE_CONFLICT_REQUEST_EXISTING_SCOPE
public static final ScopeConstants.ErrorMessages ERROR_CODE_BAD_REQUEST_SCOPE_NOT_SPECIFIED
public static final ScopeConstants.ErrorMessages ERROR_CODE_FAILED_TO_REGISTER_SCOPE
public static final ScopeConstants.ErrorMessages ERROR_CODE_FAILED_TO_GET_ALL_SCOPES
public static final ScopeConstants.ErrorMessages ERROR_CODE_FAILED_TO_GET_SCOPE_BY_NAME
public static final ScopeConstants.ErrorMessages ERROR_CODE_FAILED_TO_DELETE_SCOPE_BY_NAME
public static final ScopeConstants.ErrorMessages ERROR_CODE_FAILED_TO_UPDATE_SCOPE_BY_NAME
public static final ScopeConstants.ErrorMessages ERROR_CODE_FAILED_TO_GET_ALL_SCOPES_PAGINATION
public static final ScopeConstants.ErrorMessages ERROR_CODE_UNEXPECTED
public static ScopeConstants.ErrorMessages[] values()
for (ScopeConstants.ErrorMessages c : ScopeConstants.ErrorMessages.values()) System.out.println(c);
public static ScopeConstants.ErrorMessages 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 nullpublic String getCode()
public String getMessage()
public String toString()
toString in class Enum<ScopeConstants.ErrorMessages>Copyright © 2018 WSO2. All rights reserved.