|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.kenai.jffi.LastError
public final class LastError
Provides access to the value of errno on unix, or GetLastError on windows.
Method Summary | |
---|---|
int |
get()
Gets the errno set by the last C function invoked by the current thread. |
int |
getError()
Deprecated. |
static LastError |
getInstance()
Gets the singleton instance of the LastError object. |
void |
set(int value)
Sets the system errno value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final LastError getInstance()
@Deprecated public final int getError()
public final int get()
public final void set(int value)
value
- The value to set errno to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |