diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-13 10:12:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-14 09:16:40 +0100 |
commit | 899e472598e7c03ac05edd27343054306e49aee8 (patch) | |
tree | b6100d8ff936947196a6e94ef6289a9d685b350d /connectivity | |
parent | 9ab3abd290fda1282d789365dd1cf61f7411c0f1 (diff) |
coverity#706319 Uncaught exception
Change-Id: I582bc15b8065c9262c0933f1afa0bda6e1f5d94e
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/jdbc/InputStream.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/connectivity/source/drivers/jdbc/InputStream.cxx b/connectivity/source/drivers/jdbc/InputStream.cxx index 5990be47ab54..5edeaefd3262 100644 --- a/connectivity/source/drivers/jdbc/InputStream.cxx +++ b/connectivity/source/drivers/jdbc/InputStream.cxx @@ -70,10 +70,11 @@ sal_Int32 SAL_CALL java_io_InputStream::available( ) throw(::com::sun::star::io static jmethodID mID(NULL); return callIntMethod_Throw("available", mID); } + void SAL_CALL java_io_InputStream::closeInput( ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) { static jmethodID mID(NULL); - callVoidMethod_Throw("close",mID); + callVoidMethod_Nothrow("close",mID); } sal_Int32 SAL_CALL java_io_InputStream::readBytes( ::com::sun::star::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) |