summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/filstr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/file/filstr.cxx')
-rw-r--r--ucb/source/ucp/file/filstr.cxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/ucb/source/ucp/file/filstr.cxx b/ucb/source/ucp/file/filstr.cxx
index 2fa7da6822bb..054f2fbe1ea7 100644
--- a/ucb/source/ucp/file/filstr.cxx
+++ b/ucb/source/ucp/file/filstr.cxx
@@ -44,7 +44,7 @@ using namespace com::sun::star::ucb;
uno::Any SAL_CALL
XStream_impl::queryInterface(
const uno::Type& rType )
- throw( uno::RuntimeException)
+ throw( uno::RuntimeException, std::exception)
{
uno::Any aRet = cppu::queryInterface( rType,
(static_cast< lang::XTypeProvider* >(this)),
@@ -152,7 +152,7 @@ sal_Int32 SAL_CALL XStream_impl::getMinorError()
uno::Reference< io::XInputStream > SAL_CALL
XStream_impl::getInputStream( )
- throw( uno::RuntimeException)
+ throw( uno::RuntimeException, std::exception)
{
{
osl::MutexGuard aGuard( m_aMutex );
@@ -164,7 +164,7 @@ XStream_impl::getInputStream( )
uno::Reference< io::XOutputStream > SAL_CALL
XStream_impl::getOutputStream( )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
{
osl::MutexGuard aGuard( m_aMutex );
@@ -175,7 +175,7 @@ XStream_impl::getOutputStream( )
void SAL_CALL XStream_impl::truncate(void)
- throw( io::IOException, uno::RuntimeException )
+ throw( io::IOException, uno::RuntimeException, std::exception )
{
if (osl::FileBase::E_None != m_aFile.setSize(0))
throw io::IOException( OUString(THROW_WHERE), uno::Reference< uno::XInterface >() );
@@ -197,7 +197,7 @@ XStream_impl::readBytes(
throw( io::NotConnectedException,
io::BufferSizeExceededException,
io::IOException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
if( ! m_nIsOpen )
throw io::IOException( OUString(THROW_WHERE), uno::Reference< uno::XInterface >() );
@@ -233,7 +233,7 @@ XStream_impl::readSomeBytes(
throw( io::NotConnectedException,
io::BufferSizeExceededException,
io::IOException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
return readBytes( aData,nMaxBytesToRead );
}
@@ -245,7 +245,7 @@ XStream_impl::skipBytes(
throw( io::NotConnectedException,
io::BufferSizeExceededException,
io::IOException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
m_aFile.setPos( osl_Pos_Current, sal_uInt64( nBytesToSkip ) );
}
@@ -256,7 +256,7 @@ XStream_impl::available(
void )
throw( io::NotConnectedException,
io::IOException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
return 0;
}
@@ -267,7 +267,7 @@ XStream_impl::writeBytes( const uno::Sequence< sal_Int8 >& aData )
throw( io::NotConnectedException,
io::BufferSizeExceededException,
io::IOException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
sal_uInt32 length = aData.getLength();
if(length)
@@ -307,7 +307,7 @@ XStream_impl::closeInput(
void )
throw( io::NotConnectedException,
io::IOException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
osl::MutexGuard aGuard( m_aMutex );
m_bInputStreamCalled = false;
@@ -322,7 +322,7 @@ XStream_impl::closeOutput(
void )
throw( io::NotConnectedException,
io::IOException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
osl::MutexGuard aGuard( m_aMutex );
m_bOutputStreamCalled = false;
@@ -337,7 +337,7 @@ XStream_impl::seek(
sal_Int64 location )
throw( lang::IllegalArgumentException,
io::IOException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
if( location < 0 )
throw lang::IllegalArgumentException( OUString(THROW_WHERE), uno::Reference< uno::XInterface >(), 0 );
@@ -350,7 +350,7 @@ sal_Int64 SAL_CALL
XStream_impl::getPosition(
void )
throw( io::IOException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
sal_uInt64 uPos;
if( osl::FileBase::E_None != m_aFile.getPos( uPos ) )
@@ -362,7 +362,7 @@ sal_Int64 SAL_CALL
XStream_impl::getLength(
void )
throw( io::IOException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
sal_uInt64 uEndPos;
if ( m_aFile.getSize(uEndPos) != osl::FileBase::E_None )
@@ -376,11 +376,11 @@ XStream_impl::flush()
throw( io::NotConnectedException,
io::BufferSizeExceededException,
io::IOException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{}
void XStream_impl::waitForCompletion()
- throw (io::IOException, uno::RuntimeException)
+ throw (io::IOException, uno::RuntimeException, std::exception)
{
// At least on UNIX, to reliably learn about any errors encountered by
// asynchronous NFS write operations, without closing the file directly