public class LastError extends NativeError
@Library("c")
public static native long strtoul(Pointer<Byte> str, Pointer<Pointer<Byte>> endptr, int base) throws LastError;
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getCode()
Native error code (as returned by errno or GetLastError()).
|
String |
getDescription()
Native error description (as returned by strerror
or FormatMessage).
|
static LastError |
getLastError() |
String |
getMessage() |
int |
hashCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public int getCode()
public String getDescription()
public String getMessage()
getMessage
in class Throwable
public static LastError getLastError()
Copyright © 2009-2020. All Rights Reserved.