diff options
Diffstat (limited to 'connectivity/source/drivers/hsqldb/StorageNativeInputStream.cxx')
-rw-r--r-- | connectivity/source/drivers/hsqldb/StorageNativeInputStream.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/connectivity/source/drivers/hsqldb/StorageNativeInputStream.cxx b/connectivity/source/drivers/hsqldb/StorageNativeInputStream.cxx index 28711c7bf277..3fb691d5524a 100644 --- a/connectivity/source/drivers/hsqldb/StorageNativeInputStream.cxx +++ b/connectivity/source/drivers/hsqldb/StorageNativeInputStream.cxx @@ -183,15 +183,15 @@ SAL_DLLPUBLIC_EXPORT jlong JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNa } while (tmpLongVal > 0); } - catch(Exception& ) + catch(const Exception&) { } return n - tmpLongVal; } - catch(Exception& e) + catch(const Exception& e) { - OSL_FAIL("Exception catched! : skip();"); + OSL_FAIL("Exception caught! : skip();"); StorageContainer::throwJavaException(e,env); } } @@ -232,9 +232,9 @@ SAL_DLLPUBLIC_EXPORT jint JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNat #endif return nAvailable; } - catch(Exception& e) + catch(const Exception& e) { - OSL_FAIL("Exception caught! : available();"); + OSL_FAIL("Exception caught! : available();"); StorageContainer::throwJavaException(e,env); } } @@ -276,9 +276,9 @@ SAL_DLLPUBLIC_EXPORT jint JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNat { nBytesRead = xIn->readBytes(aData,nLen); } - catch(Exception& e) + catch(const Exception& e) { - OSL_FAIL("Exception catched! : skip();"); + OSL_FAIL("Exception caught! : skip();"); StorageContainer::throwJavaException(e,env); } |