public static enum ReplicationException.ErrorKind extends java.lang.Enum<ReplicationException.ErrorKind>
Enum Constant and Description |
---|
mailboxNonExistent |
malformedMailboxName |
serverError |
Modifier and Type | Method and Description |
---|---|
CommandResult |
result() |
static ReplicationException.ErrorKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReplicationException.ErrorKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicationException.ErrorKind serverError
public static final ReplicationException.ErrorKind mailboxNonExistent
public static final ReplicationException.ErrorKind malformedMailboxName
public static ReplicationException.ErrorKind[] values()
for (ReplicationException.ErrorKind c : ReplicationException.ErrorKind.values()) System.out.println(c);
public static ReplicationException.ErrorKind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic CommandResult result()
Copyright © 2021. All Rights Reserved.