public enum MLockError extends Enum<MLockError> implements NativeError
NativeError.NativeCallException| Modifier and Type | Method and Description |
|---|---|
String |
desc() |
int |
errno() |
String |
mnemonic() |
static MLockError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MLockError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcheckError, forErrnopublic static final MLockError EPERM
public static final MLockError EAGAIN
public static final MLockError ENOMEM
public static final MLockError EINVAL
public static MLockError[] values()
for (MLockError c : MLockError.values()) System.out.println(c);
public static MLockError valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String mnemonic()
mnemonic in interface NativeErrorpublic String desc()
desc in interface NativeErrorpublic int errno()
errno in interface NativeErrorCopyright © 2022. All rights reserved.