public static enum RepoException.RepoExceptionType extends Enum<RepoException.RepoExceptionType>
| Enum Constant and Description |
|---|
GENERAL |
NAME_ALREADY_EXISTS |
| Modifier and Type | Method and Description |
|---|---|
static RepoException.RepoExceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepoException.RepoExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepoException.RepoExceptionType GENERAL
public static final RepoException.RepoExceptionType NAME_ALREADY_EXISTS
public static RepoException.RepoExceptionType[] values()
for (RepoException.RepoExceptionType c : RepoException.RepoExceptionType.values()) System.out.println(c);
public static RepoException.RepoExceptionType 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 © 2008-2013 Red Hat, Inc.. All Rights Reserved.