| Modifier and Type | Class and Description |
|---|---|
| private static class | LastError.SingletonHolder
Lazy-initialization singleton holder |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public final int | Returns: The value of errno/GetLastError()Gets the errno set by the last C function invoked by the current thread. |
| public final int | Returns: The value of errno/GetLastError()
Deprecated
Gets the errno set by the last C function invoked by the current thread.
|
| public static final LastError | |
| public final void |
| foreign | back to summary |
|---|---|
private final Foreign foreign
| |
| LastError | back to summary |
|---|---|
| private LastError() Creates a new | |
| get | back to summary |
|---|---|
| public final int get() Gets the errno set by the last C function invoked by the current thread.
| |
| getError | back to summary |
|---|---|
| public final int getError()
Deprecated
Gets the errno set by the last C function invoked by the current thread.
| |
| getInstance | back to summary |
|---|---|
| public static final LastError getInstance() Gets the singleton instance of the
| |
| set | back to summary |
|---|---|
| public final void set(int value) Sets the system errno value.
| |
| Access | Constructor and Description |
|---|---|
| private |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final LastError INSTANCE | |
| SingletonHolder | back to summary |
|---|---|
| private SingletonHolder() | |