Kaydet (Commit) 98862b0f authored tarafından Andrzej J.R. Hunt's avatar Andrzej J.R. Hunt

CID#1079045 CID#107946 Uncaught exception. (firebird-sdbc)

In this case we can just pass the DisposedException (is a RuntimeException)
onto the get* methods.

Change-Id: I97a3575709e2f50fa651a5d26c3029ed014630da
üst d153993e
......@@ -419,7 +419,7 @@ ISC_QUAD* OResultSet::retrieveValue(sal_Int32 columnIndex)
template <typename T>
T OResultSet::safelyRetrieveValue(sal_Int32 columnIndex)
throw (SQLException)
throw (SQLException, RuntimeException)
{
MutexGuard aGuard(m_pConnection->getMutex());
checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
......
......@@ -94,7 +94,8 @@ namespace connectivity
template <typename T> T retrieveValue(sal_Int32 columnIndex);
template <typename T> T safelyRetrieveValue(sal_Int32 columnIndex)
throw(::com::sun::star::sdbc::SQLException);
throw(::com::sun::star::sdbc::SQLException,
::com::sun::star::uno::RuntimeException);
// OIdPropertyArrayUsageHelper
virtual ::cppu::IPropertyArrayHelper* createArrayHelper() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment