public static enum TenantConstants.ErrorMessage extends Enum<TenantConstants.ErrorMessage>
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getMessage() |
static TenantConstants.ErrorMessage |
valueOf(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.
|
public static final TenantConstants.ErrorMessage ERROR_CODE_EMPTY_EMAIL
public static final TenantConstants.ErrorMessage ERROR_CODE_ILLEGAL_EMAIL
public static final TenantConstants.ErrorMessage ERROR_CODE_INVALID_EMAIL
public static final TenantConstants.ErrorMessage ERROR_CODE_UNAVAILABLE_DOMAIN
public static final TenantConstants.ErrorMessage ERROR_CODE_EMPTY_DOMAIN_NAME
public static final TenantConstants.ErrorMessage ERROR_CODE_EMPTY_EXTENSION
public static final TenantConstants.ErrorMessage ERROR_CODE_INVALID_DOMAIN
public static final TenantConstants.ErrorMessage ERROR_CODE_ILLEGAL_CHARACTERS_IN_DOMAIN
public static final TenantConstants.ErrorMessage ERROR_CODE_EXISTING_USER_NAME
public static final TenantConstants.ErrorMessage ERROR_CODE_EXISTING_DOMAIN
public static final TenantConstants.ErrorMessage ERROR_CODE_INVALID_LIMIT
public static final TenantConstants.ErrorMessage ERROR_CODE_INVALID_OFFSET
public static final TenantConstants.ErrorMessage ERROR_CODE_OWNER_REQUIRED
public static final TenantConstants.ErrorMessage ERROR_CODE_MISSING_REQUIRED_PARAMETER
public static final TenantConstants.ErrorMessage ERROR_CODE_RESOURCE_NOT_FOUND
public static final TenantConstants.ErrorMessage ERROR_CODE_DOMAIN_NOT_FOUND
public static final TenantConstants.ErrorMessage ERROR_CODE_TENANT_DELETION_NOT_ENABLED
public static TenantConstants.ErrorMessage[] values()
for (TenantConstants.ErrorMessage c : TenantConstants.ErrorMessage.values()) System.out.println(c);
public static TenantConstants.ErrorMessage 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()
Copyright © 2023 WSO2. All rights reserved.