From 4a95aa62ba34e1573540dc4395241e2654718c48 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 25 Aug 2016 11:16:10 +0200 Subject: cid#1371770 Uncaught exception Change-Id: I147e98d0eef2568c78ea95aee9fa68656f2e8e75 --- connectivity/source/drivers/firebird/Connection.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'connectivity') 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 #include #include +#include #include #include #include @@ -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 ); } -- cgit