Enum TenantConstants.ErrorMessage
- java.lang.Object
-
- java.lang.Enum<TenantConstants.ErrorMessage>
-
- org.wso2.carbon.stratos.common.constants.TenantConstants.ErrorMessage
-
- All Implemented Interfaces:
Serializable,Comparable<TenantConstants.ErrorMessage>
- Enclosing class:
- TenantConstants
public static enum TenantConstants.ErrorMessage extends Enum<TenantConstants.ErrorMessage>
Enum for error messages.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()StringgetMessage()static TenantConstants.ErrorMessagevalueOf(String name)Returns the enum constant of this type with the specified name.static TenantConstants.ErrorMessage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR_CODE_EMPTY_EMAIL
public static final TenantConstants.ErrorMessage ERROR_CODE_EMPTY_EMAIL
-
ERROR_CODE_ILLEGAL_EMAIL
public static final TenantConstants.ErrorMessage ERROR_CODE_ILLEGAL_EMAIL
-
ERROR_CODE_INVALID_EMAIL
public static final TenantConstants.ErrorMessage ERROR_CODE_INVALID_EMAIL
-
ERROR_CODE_UNAVAILABLE_DOMAIN
public static final TenantConstants.ErrorMessage ERROR_CODE_UNAVAILABLE_DOMAIN
-
ERROR_CODE_EMPTY_DOMAIN_NAME
public static final TenantConstants.ErrorMessage ERROR_CODE_EMPTY_DOMAIN_NAME
-
ERROR_CODE_EMPTY_EXTENSION
public static final TenantConstants.ErrorMessage ERROR_CODE_EMPTY_EXTENSION
-
ERROR_CODE_INVALID_DOMAIN
public static final TenantConstants.ErrorMessage ERROR_CODE_INVALID_DOMAIN
-
ERROR_CODE_ILLEGAL_CHARACTERS_IN_DOMAIN
public static final TenantConstants.ErrorMessage ERROR_CODE_ILLEGAL_CHARACTERS_IN_DOMAIN
-
ERROR_CODE_EXISTING_USER_NAME
public static final TenantConstants.ErrorMessage ERROR_CODE_EXISTING_USER_NAME
-
ERROR_CODE_EXISTING_DOMAIN
public static final TenantConstants.ErrorMessage ERROR_CODE_EXISTING_DOMAIN
-
ERROR_CODE_INVALID_LIMIT
public static final TenantConstants.ErrorMessage ERROR_CODE_INVALID_LIMIT
-
ERROR_CODE_INVALID_OFFSET
public static final TenantConstants.ErrorMessage ERROR_CODE_INVALID_OFFSET
-
ERROR_CODE_OWNER_REQUIRED
public static final TenantConstants.ErrorMessage ERROR_CODE_OWNER_REQUIRED
-
ERROR_CODE_MISSING_REQUIRED_PARAMETER
public static final TenantConstants.ErrorMessage ERROR_CODE_MISSING_REQUIRED_PARAMETER
-
ERROR_CODE_RESOURCE_NOT_FOUND
public static final TenantConstants.ErrorMessage ERROR_CODE_RESOURCE_NOT_FOUND
-
ERROR_CODE_DOMAIN_NOT_FOUND
public static final TenantConstants.ErrorMessage ERROR_CODE_DOMAIN_NOT_FOUND
-
ERROR_CODE_TENANT_DELETION_NOT_ENABLED
public static final TenantConstants.ErrorMessage ERROR_CODE_TENANT_DELETION_NOT_ENABLED
-
ERROR_CODE_TENANT_DOES_NOT_MATCH_REGEX_PATTERN
public static final TenantConstants.ErrorMessage ERROR_CODE_TENANT_DOES_NOT_MATCH_REGEX_PATTERN
-
ERROR_CODE_PRE_TENANT_CREATION_FAILED
public static final TenantConstants.ErrorMessage ERROR_CODE_PRE_TENANT_CREATION_FAILED
-
ERROR_CODE_TENANT_LIMIT_REACHED
public static final TenantConstants.ErrorMessage ERROR_CODE_TENANT_LIMIT_REACHED
-
ERROR_CODE_OWNER_NOT_FOUND
public static final TenantConstants.ErrorMessage ERROR_CODE_OWNER_NOT_FOUND
-
ERROR_CODE_PARTIALLY_CREATED_OR_UPDATED
public static final TenantConstants.ErrorMessage ERROR_CODE_PARTIALLY_CREATED_OR_UPDATED
-
ERROR_CODE_INVALID_FILTER_FORMAT
public static final TenantConstants.ErrorMessage ERROR_CODE_INVALID_FILTER_FORMAT
-
ERROR_CODE_UNSUPPORTED_FILTER_ATTRIBUTE
public static final TenantConstants.ErrorMessage ERROR_CODE_UNSUPPORTED_FILTER_ATTRIBUTE
-
ERROR_CODE_UNSUPPORTED_FILTER_OPERATION_FOR_ATTRIBUTE
public static final TenantConstants.ErrorMessage ERROR_CODE_UNSUPPORTED_FILTER_OPERATION_FOR_ATTRIBUTE
-
-
Method Detail
-
values
public static TenantConstants.ErrorMessage[] 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 (TenantConstants.ErrorMessage c : TenantConstants.ErrorMessage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TenantConstants.ErrorMessage valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getCode
public String getCode()
-
getMessage
public String getMessage()
-
-