public final class LastError extends Object
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2018. All rights reserved.