public static enum EzHdlcException.EzHdlcExceptionKind extends java.lang.Enum<EzHdlcException.EzHdlcExceptionKind>
Enum Constant and Description |
---|
Frame
Exception raised by Frame object.
|
HDLC
Exception raised by HDLCProtocol.
|
Other
Any other exception
|
Trial
Exception raised when a trial limit is exceeded.
|
Modifier and Type | Method and Description |
---|---|
static EzHdlcException.EzHdlcExceptionKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EzHdlcException.EzHdlcExceptionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EzHdlcException.EzHdlcExceptionKind HDLC
public static final EzHdlcException.EzHdlcExceptionKind Frame
public static final EzHdlcException.EzHdlcExceptionKind Trial
public static final EzHdlcException.EzHdlcExceptionKind Other
public static EzHdlcException.EzHdlcExceptionKind[] values()
for (EzHdlcException.EzHdlcExceptionKind c : EzHdlcException.EzHdlcExceptionKind.values()) System.out.println(c);
public static EzHdlcException.EzHdlcExceptionKind 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