Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Namespaces | Macros | Functions
helper_base.hpp File Reference
#include <vector>
#include <memory>
#include <functional>
#include <jni.h>
#include <jau/jni/helper_jni.hpp>
#include "direct_bt/BTTypes0.hpp"
Include dependency graph for helper_base.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  direct_bt
 
namespace  direct_bt::jni
 Author: Sven Gothel sgoth.nosp@m.el@j.nosp@m.ausof.nosp@m.t.co.nosp@m.m Copyright (c) 2020 Gothel Software e.K.
 

Macros

#define rethrow_and_raise_java_exception(E)   direct_bt::jni::rethrow_and_raise_java_exception_impl((E), __FILE__, __LINE__)
 Re-throw current exception and raise respective java exception using any matching function above. More...
 

Functions

void direct_bt::jni::raise_java_exception (JNIEnv *env, const direct_bt::BTException &e, const char *file, int line)
 Author: Sven Gothel sgoth.nosp@m.el@j.nosp@m.ausof.nosp@m.t.co.nosp@m.m Copyright (c) 2020 Gothel Software e.K. More...
 
void direct_bt::jni::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. More...
 

Macro Definition Documentation

◆ rethrow_and_raise_java_exception

#define rethrow_and_raise_java_exception (   E)    direct_bt::jni::rethrow_and_raise_java_exception_impl((E), __FILE__, __LINE__)

Re-throw current exception and raise respective java exception using any matching function above.

Definition at line 52 of file helper_base.hpp.