public static enum ChannelException.Type extends Enum<ChannelException.Type>
Enum Constant and Description |
---|
CANNOT_CREATE_CONTENT |
CHANNEL_LOCKED |
CHANNEL_OUT_OF_SYNC |
MOUNT_EXISTS |
MOUNT_NOT_FOUND |
SERVER_ERROR |
STOPPED_BY_LISTENER |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
static ChannelException.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelException.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelException.Type UNKNOWN
public static final ChannelException.Type CHANNEL_LOCKED
public static final ChannelException.Type CHANNEL_OUT_OF_SYNC
public static final ChannelException.Type SERVER_ERROR
public static final ChannelException.Type MOUNT_EXISTS
public static final ChannelException.Type MOUNT_NOT_FOUND
public static final ChannelException.Type CANNOT_CREATE_CONTENT
public static final ChannelException.Type STOPPED_BY_LISTENER
public static ChannelException.Type[] values()
for (ChannelException.Type c : ChannelException.Type.values()) System.out.println(c);
public static ChannelException.Type 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 getKey()
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.