summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-25 11:16:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-25 11:16:10 +0200
commit4a95aa62ba34e1573540dc4395241e2654718c48 (patch)
treec1d6a6257dcfc389181bb4e7f939818031349022 /connectivity
parente353a8ffdd4dbf20dcfe3e8904848ce96deac5c5 (diff)
cid#1371770 Uncaught exception
Change-Id: I147e98d0eef2568c78ea95aee9fa68656f2e8e75
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/firebird/Connection.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/connectivity/source/drivers/firebird/Connection.cxx b/connectivity/source/drivers/firebird/Connection.cxx
index 9a746da5b988..e18be5ad628a 100644
--- a/connectivity/source/drivers/firebird/Connection.cxx
+++ b/connectivity/source/drivers/firebird/Connection.cxx
@@ -40,6 +40,7 @@
#include <com/sun/star/io/XStream.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/EventObject.hpp>
+#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/sdbc/ColumnValue.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
#include <com/sun/star/sdbc/TransactionIsolation.hpp>
@@ -845,11 +846,11 @@ void SAL_CALL Connection::documentEventOccured( const DocumentEvent& Event )
}
catch (const SQLException& e)
{
- WrappedTargetException aExceptionWrapper;
+ WrappedTargetRuntimeException aExceptionWrapper;
aExceptionWrapper.Context = e.Context;
aExceptionWrapper.Message = e.Message;
aExceptionWrapper.TargetException <<= e;
- throw WrappedTargetException( aExceptionWrapper );
+ throw WrappedTargetRuntimeException( aExceptionWrapper );
}