diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-09-11 16:10:08 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-09-11 16:16:57 +0200 |
commit | 6f0ddddff1b5e986a6b4879023600182fd32e82d (patch) | |
tree | f8466d3d54b30cdb73ce3b601e34a4d7c5a0d4c7 /bridges/source | |
parent | 4e653d15eff26aa5283d8ba20611893f4c573f57 (diff) |
Improve debug output
Change-Id: Ic7fee2d0ca95279d9809161a7f39480727b070e3
Diffstat (limited to 'bridges/source')
-rw-r--r-- | bridges/source/jni_uno/jni_base.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bridges/source/jni_uno/jni_base.h b/bridges/source/jni_uno/jni_base.h index 61fc28479585..3de1898c758a 100644 --- a/bridges/source/jni_uno/jni_base.h +++ b/bridges/source/jni_uno/jni_base.h @@ -115,8 +115,11 @@ inline bool JNI_context::assert_no_exception() const { if (JNI_FALSE != m_env->ExceptionCheck()) { + SAL_WARN("bridges", "unexpected java exception occurred"); +#if OSL_DEBUG_LEVEL > 0 + m_env->ExceptionDescribe(); +#endif m_env->ExceptionClear(); - OSL_FAIL( "unexpected java exception occurred!" ); return false; } return true; |