| Modifier and Type | Class and Description |
|---|---|
protected static class |
FindexBase.IndexRequest<SELF extends FindexBase.IndexRequest<SELF>> |
protected static class |
FindexBase.SearchRequest<SELF extends FindexBase.SearchRequest<SELF>> |
| Constructor and Description |
|---|
FindexBase() |
| Modifier and Type | Method and Description |
|---|---|
static String |
get_last_error()
Return the last error in a String that does not exceed 1023 bytes
|
static String |
get_last_error(int maxLen)
Return the last error in a String that does not exceed `max_len` bytes
|
static void |
set_error(String error_msg)
Set the last error on the native lib
|
protected static void |
unwrap(long start,
int errorCode)
If the result of the last FFI call is in Error, recover the last error from the native code and throw an
exception wrapping it.
|
public static String get_last_error() throws CloudproofException
CloudproofException - in case of native library errorpublic static String get_last_error(int maxLen) throws CloudproofException
maxLen - the maximum number of bytes to returnCloudproofException - in case of native library errorpublic static void set_error(String error_msg)
error_msg - the last error to set on the native libprotected static void unwrap(long start,
int errorCode)
throws CloudproofException
errorCode - the result of the FFI callstart - the start timestamp of the FFI call (used for callback exception handling)CloudproofException - in case of native library errorCopyright © 2023. All rights reserved.