diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-09-24 09:50:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-24 09:52:38 +0200 |
commit | c67fedbd56623078b6e48b0dd3c015c4b9f8b685 (patch) | |
tree | 5e8ab8e1bb46094d45c8fff2021be212c03e119c /connectivity/source/inc | |
parent | 93a0d9eee0f4dced348b040961f44f977e9504a7 (diff) |
To ease debugging, display printStackTrace of caught exceptions in jdbc driver
Change-Id: I8c48b09fcab18af196a8441351bcf3180a32005b
Diffstat (limited to 'connectivity/source/inc')
-rw-r--r-- | connectivity/source/inc/java/lang/Throwable.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/connectivity/source/inc/java/lang/Throwable.hxx b/connectivity/source/inc/java/lang/Throwable.hxx index e0e90859ea69..071695f001e3 100644 --- a/connectivity/source/inc/java/lang/Throwable.hxx +++ b/connectivity/source/inc/java/lang/Throwable.hxx @@ -39,6 +39,10 @@ namespace connectivity ::rtl::OUString getMessage() const; ::rtl::OUString getLocalizedMessage() const; +#if OSL_DEBUG_LEVEL > 0 + void printStackTrace() const; +#endif + static jclass st_getMyClass(); }; } |