public final class Meta
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Meta.Version
Immutable return value from
version() . |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
error(int err)
Fetches the LMDB error code description.
|
static Meta.Version |
version()
Obtains the LMDB C library version information.
|
public static java.lang.String error(int err)
End users should not need this method, as LmdbJava converts all LMDB exceptions into a typed Java exception that incorporates the error code. However it is provided here for verification and troubleshooting (eg if the user wishes to see the original LMDB description of the error code, or there is a newer library version etc).
err
- the error code returned from LMDBpublic static Meta.Version version()
Copyright © 2016–2018 The LmdbJava Open Source Project. All rights reserved.