public static enum ChannelException.ChannelExceptionKind extends java.lang.Enum<ChannelException.ChannelExceptionKind>
Enum Constant and Description |
---|
COM
Exception raised by COMChannel.
|
Other
Any other exception
|
TCP
Exception raised by TCPChannel.
|
Modifier and Type | Method and Description |
---|---|
static ChannelException.ChannelExceptionKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChannelException.ChannelExceptionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelException.ChannelExceptionKind COM
public static final ChannelException.ChannelExceptionKind TCP
public static final ChannelException.ChannelExceptionKind Other
public static ChannelException.ChannelExceptionKind[] values()
for (ChannelException.ChannelExceptionKind c : ChannelException.ChannelExceptionKind.values()) System.out.println(c);
public static ChannelException.ChannelExceptionKind 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 null