|
barchart-udt-core 2.3.0-SNAPSHOT / 2013-05-13T01:37:38.485-0500 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ErrorUDT>
com.barchart.udt.ErrorUDT
public enum ErrorUDT
keep code values in sync with
| Method Summary | |
|---|---|
static String |
descriptionFrom(int socketID,
int errorCode,
String errorComment)
|
static ErrorUDT |
errorFrom(int code)
|
int |
getCode()
|
String |
getDescription()
|
static ErrorUDT |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ErrorUDT[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ErrorUDT SUCCESS
public static final ErrorUDT ECONNSETUP
public static final ErrorUDT NOSERVER
public static final ErrorUDT ECONNREJ
public static final ErrorUDT ESOCKFAIL
public static final ErrorUDT ESECFAIL
public static final ErrorUDT ECONNFAIL
public static final ErrorUDT ECONNLOST
public static final ErrorUDT ENOCONN
public static final ErrorUDT ERESOURCE
public static final ErrorUDT ETHREAD
public static final ErrorUDT ENOBUF
public static final ErrorUDT EFILE
public static final ErrorUDT EINVRDOFF
public static final ErrorUDT ERDPERM
public static final ErrorUDT EINVWROFF
public static final ErrorUDT EWRPERM
public static final ErrorUDT EINVOP
public static final ErrorUDT EBOUNDSOCK
public static final ErrorUDT ECONNSOCK
public static final ErrorUDT EINVPARAM
public static final ErrorUDT EINVSOCK
public static final ErrorUDT EUNBOUNDSOCK
public static final ErrorUDT ENOLISTEN
public static final ErrorUDT ERDVNOSERV
public static final ErrorUDT ERDVUNBOUND
public static final ErrorUDT ESTREAMILL
public static final ErrorUDT EDGRAMILL
public static final ErrorUDT EDUPLISTEN
public static final ErrorUDT ELARGEMSG
public static final ErrorUDT EINVPOLLID
public static final ErrorUDT EASYNCFAIL
public static final ErrorUDT EASYNCSND
public static final ErrorUDT EASYNCRCV
public static final ErrorUDT ETIMEOUT
public static final ErrorUDT EPEERERR
public static final ErrorUDT WRAPPER_UNKNOWN
public static final ErrorUDT WRAPPER_UNIMPLEMENTED
public static final ErrorUDT WRAPPER_MESSAGE
public static final ErrorUDT USER_DEFINED_MESSAGE
| Method Detail |
|---|
public static ErrorUDT[] values()
for (ErrorUDT c : ErrorUDT.values()) System.out.println(c);
public static ErrorUDT valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getCode()
public String getDescription()
public static ErrorUDT errorFrom(int code)
public static String descriptionFrom(int socketID,
int errorCode,
String errorComment)
|
barchart-udt-core 2.3.0-SNAPSHOT / 2013-05-13T01:37:38.485-0500 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||