summaryrefslogtreecommitdiffstats
path: root/java/jni/helper_base.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'java/jni/helper_base.cxx')
-rw-r--r--java/jni/helper_base.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/java/jni/helper_base.cxx b/java/jni/helper_base.cxx
index c08c9280..84a6e4c2 100644
--- a/java/jni/helper_base.cxx
+++ b/java/jni/helper_base.cxx
@@ -50,10 +50,6 @@ void raise_java_exception(JNIEnv *env, const direct_bt::BTException &e, const ch
jau::print_native_caught_exception_fwd2java(e, file, line);
env->ThrowNew(env->FindClass("org/direct_bt/BTException"), e.what());
}
-void raise_java_exception(JNIEnv *env, const tinyb::BluetoothException &e, const char* file, int line) {
- jau::print_native_caught_exception_fwd2java(e, file, line);
- env->ThrowNew(env->FindClass("org/direct_bt/BTException"), e.what());
-}
static std::string _unknown_exception_type_msg("Unknown exception type");
@@ -80,8 +76,6 @@ void rethrow_and_raise_java_exception_impl(JNIEnv *env, const char* file, int li
jau::raise_java_exception(env, e, file, line);
} catch (const direct_bt::BTException &e) {
raise_java_exception(env, e, file, line);
- } catch (const tinyb::BluetoothException &e) {
- raise_java_exception(env, e, file, line);
} catch (const jau::RuntimeException &e) {
jau::raise_java_exception(env, e, file, line);
} catch (const std::runtime_error &e) {