public static enum RepositoryServiceException.ErrorCode extends Enum<RepositoryServiceException.ErrorCode> implements com.google.gwt.user.client.rpc.IsSerializable
| Enum Constant and Description |
|---|
ACTIVATION_ERROR |
ALREADY_ACTIVATED |
GENERAL_ERROR |
INCORRECT_CAPTCHA |
INVALID_EMAIL_FORMAT |
LDAP_ERROR |
MAIL_ALREADY_EXISTS |
NO_REPOS_FOR_THIS_COUNTRY |
NOT_ACTIVATED |
REPOSITORY_ALREADY_EXISTS |
REPOSITORY_NOT_EXISTS |
SQL_ERROR |
| Modifier and Type | Method and Description |
|---|---|
static RepositoryServiceException.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryServiceException.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryServiceException.ErrorCode REPOSITORY_ALREADY_EXISTS
public static final RepositoryServiceException.ErrorCode SQL_ERROR
public static final RepositoryServiceException.ErrorCode NOT_ACTIVATED
public static final RepositoryServiceException.ErrorCode ACTIVATION_ERROR
public static final RepositoryServiceException.ErrorCode LDAP_ERROR
public static final RepositoryServiceException.ErrorCode MAIL_ALREADY_EXISTS
public static final RepositoryServiceException.ErrorCode GENERAL_ERROR
public static final RepositoryServiceException.ErrorCode ALREADY_ACTIVATED
public static final RepositoryServiceException.ErrorCode INVALID_EMAIL_FORMAT
public static final RepositoryServiceException.ErrorCode NO_REPOS_FOR_THIS_COUNTRY
public static final RepositoryServiceException.ErrorCode REPOSITORY_NOT_EXISTS
public static final RepositoryServiceException.ErrorCode INCORRECT_CAPTCHA
public static RepositoryServiceException.ErrorCode[] values()
for (RepositoryServiceException.ErrorCode c : RepositoryServiceException.ErrorCode.values()) System.out.println(c);
public static RepositoryServiceException.ErrorCode 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 nullCopyright © 2018. All rights reserved.