summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/filstr.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /ucb/source/ucp/file/filstr.hxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'ucb/source/ucp/file/filstr.hxx')
-rw-r--r--ucb/source/ucp/file/filstr.hxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/ucb/source/ucp/file/filstr.hxx b/ucb/source/ucp/file/filstr.hxx
index 78fc1530cbdb..66f7f9376be5 100644
--- a/ucb/source/ucp/file/filstr.hxx
+++ b/ucb/source/ucp/file/filstr.hxx
@@ -70,7 +70,7 @@ namespace fileaccess {
virtual com::sun::star::uno::Any SAL_CALL
queryInterface(
const com::sun::star::uno::Type& rType )
- throw( com::sun::star::uno::RuntimeException);
+ throw( com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL
acquire(
@@ -92,18 +92,18 @@ namespace fileaccess {
virtual com::sun::star::uno::Reference< com::sun::star::io::XInputStream > SAL_CALL
getInputStream( )
- throw( com::sun::star::uno::RuntimeException );
+ throw( com::sun::star::uno::RuntimeException, std::exception );
virtual com::sun::star::uno::Reference< com::sun::star::io::XOutputStream > SAL_CALL
getOutputStream( )
- throw( com::sun::star::uno::RuntimeException );
+ throw( com::sun::star::uno::RuntimeException, std::exception );
// XTruncate
virtual void SAL_CALL truncate( void )
throw( com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException );
+ com::sun::star::uno::RuntimeException, std::exception );
// XInputStream
@@ -115,7 +115,7 @@ namespace fileaccess {
throw( com::sun::star::io::NotConnectedException,
com::sun::star::io::BufferSizeExceededException,
com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException);
+ com::sun::star::uno::RuntimeException, std::exception);
sal_Int32 SAL_CALL
readSomeBytes(
@@ -124,7 +124,7 @@ namespace fileaccess {
throw( com::sun::star::io::NotConnectedException,
com::sun::star::io::BufferSizeExceededException,
com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException);
+ com::sun::star::uno::RuntimeException, std::exception);
void SAL_CALL
@@ -133,21 +133,21 @@ namespace fileaccess {
throw( com::sun::star::io::NotConnectedException,
com::sun::star::io::BufferSizeExceededException,
com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException );
+ com::sun::star::uno::RuntimeException, std::exception );
sal_Int32 SAL_CALL
available(
void )
throw( com::sun::star::io::NotConnectedException,
com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException );
+ com::sun::star::uno::RuntimeException, std::exception );
void SAL_CALL
closeInput(
void )
throw( com::sun::star::io::NotConnectedException,
com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException );
+ com::sun::star::uno::RuntimeException, std::exception );
// XSeekable
@@ -156,19 +156,19 @@ namespace fileaccess {
sal_Int64 location )
throw( com::sun::star::lang::IllegalArgumentException,
com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException );
+ com::sun::star::uno::RuntimeException, std::exception );
sal_Int64 SAL_CALL
getPosition(
void )
throw( com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException );
+ com::sun::star::uno::RuntimeException, std::exception );
sal_Int64 SAL_CALL
getLength(
void )
throw( com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException );
+ com::sun::star::uno::RuntimeException, std::exception );
// XOutputStream
@@ -178,7 +178,7 @@ namespace fileaccess {
throw( com::sun::star::io::NotConnectedException,
com::sun::star::io::BufferSizeExceededException,
com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException);
+ com::sun::star::uno::RuntimeException, std::exception);
@@ -187,7 +187,7 @@ namespace fileaccess {
throw( com::sun::star::io::NotConnectedException,
com::sun::star::io::BufferSizeExceededException,
com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException);
+ com::sun::star::uno::RuntimeException, std::exception);
void SAL_CALL
@@ -195,12 +195,12 @@ namespace fileaccess {
void )
throw( com::sun::star::io::NotConnectedException,
com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException );
+ com::sun::star::uno::RuntimeException, std::exception );
virtual void SAL_CALL waitForCompletion()
throw (
com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException);
+ com::sun::star::uno::RuntimeException, std::exception);
private: