java.lang.Object
org.lmdbjava.ResultCodeMapper
Maps a LMDB C result code to the equivalent Java exception.
The immutable nature of all LMDB exceptions means the mapper internally maintains a table of them.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckRc(int rc) Checks the result code and raises an exception is notMDB_SUCCESS.
-
Method Details
-
checkRc
public static void checkRc(int rc) Checks the result code and raises an exception is notMDB_SUCCESS.- Parameters:
rc- the LMDB result code
-