#include <jni.h>
#include <memory>
#include <stdexcept>
#include <vector>
#include "helper_base.hpp"
Go to the source code of this file.
◆ JAVA_MAIN_PACKAGE
#define JAVA_MAIN_PACKAGE "org/direct_bt" |
◆ _unknown_exception_type_msg()
static std::string _unknown_exception_type_msg |
( |
"Unknown exception type" |
| ) |
|
|
static |
◆ get_bluetooth_type()
jobject get_bluetooth_type |
( |
JNIEnv * |
env, |
|
|
const char * |
field_name |
|
) |
| |
◆ raise_java_exception()
◆ rethrow_and_raise_java_exception_impl()
void rethrow_and_raise_java_exception_impl |
( |
JNIEnv * |
env, |
|
|
const char * |
file, |
|
|
int |
line |
|
) |
| |
Re-throw current exception and raise respective java exception using any matching function above.
Definition at line 56 of file helper_base.cxx.