summaryrefslogtreecommitdiff
path: root/dbaccess/source/core/inc/sdbcoretools.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/core/inc/sdbcoretools.hxx')
-rw-r--r--dbaccess/source/core/inc/sdbcoretools.hxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/dbaccess/source/core/inc/sdbcoretools.hxx b/dbaccess/source/core/inc/sdbcoretools.hxx
index a7e2b9986f7e..92a163b3d24e 100644
--- a/dbaccess/source/core/inc/sdbcoretools.hxx
+++ b/dbaccess/source/core/inc/sdbcoretools.hxx
@@ -31,12 +31,13 @@
#ifndef DBACORE_SDBCORETOOLS_HXX
#define DBACORE_SDBCORETOOLS_HXX
-#ifndef _COM_SUN_STAR_UTIL_XNUMBERFORMATSSUPPLIER_HPP_
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
-#endif
-#ifndef _COM_SUN_STAR_SDBC_XCONNECTION_HPP_
#include <com/sun/star/sdbc/XConnection.hpp>
-#endif
+
+namespace comphelper
+{
+ class ComponentContext;
+}
//.........................................................................
namespace dbaccess
@@ -71,6 +72,11 @@ namespace dbaccess
::com::sun::star::uno::Any& /* [out] */ _rSettingsValue
);
+ // -----------------------------------------------------------------------------
+ /** retrieves a to-be-displayed string for a given caught exception;
+ */
+ ::rtl::OUString extractExceptionMessage( const ::comphelper::ComponentContext& _rContext, const ::com::sun::star::uno::Any& _rError );
+
//.........................................................................
} // namespace dbaccess
//.........................................................................