summaryrefslogtreecommitdiff
path: root/ucb/source/cacher/contentresultsetwrapper.cxx
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/cacher/contentresultsetwrapper.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'ucb/source/cacher/contentresultsetwrapper.cxx')
-rw-r--r--ucb/source/cacher/contentresultsetwrapper.cxx112
1 files changed, 56 insertions, 56 deletions
diff --git a/ucb/source/cacher/contentresultsetwrapper.cxx b/ucb/source/cacher/contentresultsetwrapper.cxx
index 4a00bceac909..516b719eebdd 100644
--- a/ucb/source/cacher/contentresultsetwrapper.cxx
+++ b/ucb/source/cacher/contentresultsetwrapper.cxx
@@ -357,7 +357,7 @@ QUERYINTERFACE_IMPL_END
// virtual
void SAL_CALL ContentResultSetWrapper
- ::dispose() throw( RuntimeException )
+ ::dispose() throw( RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -432,7 +432,7 @@ void SAL_CALL ContentResultSetWrapper
// virtual
void SAL_CALL ContentResultSetWrapper
::addEventListener( const Reference< XEventListener >& Listener )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
osl::Guard< osl::Mutex > aGuard( m_aMutex );
@@ -448,7 +448,7 @@ void SAL_CALL ContentResultSetWrapper
// virtual
void SAL_CALL ContentResultSetWrapper
::removeEventListener( const Reference< XEventListener >& Listener )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
osl::Guard< osl::Mutex > aGuard( m_aMutex );
@@ -464,7 +464,7 @@ void SAL_CALL ContentResultSetWrapper
void SAL_CALL ContentResultSetWrapper
::close()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
dispose();
@@ -477,7 +477,7 @@ void SAL_CALL ContentResultSetWrapper
Reference< XResultSetMetaData > SAL_CALL ContentResultSetWrapper
::getMetaData()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -508,7 +508,7 @@ Reference< XResultSetMetaData > SAL_CALL ContentResultSetWrapper
// virtual
Reference< XPropertySetInfo > SAL_CALL ContentResultSetWrapper
- ::getPropertySetInfo() throw( RuntimeException )
+ ::getPropertySetInfo() throw( RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
{
@@ -527,7 +527,7 @@ void SAL_CALL ContentResultSetWrapper
PropertyVetoException,
IllegalArgumentException,
WrappedTargetException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
impl_init_xPropertySetOrigin();
@@ -545,7 +545,7 @@ Any SAL_CALL ContentResultSetWrapper
::getPropertyValue( const OUString& rPropertyName )
throw( UnknownPropertyException,
WrappedTargetException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
impl_init_xPropertySetOrigin();
@@ -565,7 +565,7 @@ void SAL_CALL ContentResultSetWrapper
const Reference< XPropertyChangeListener >& xListener )
throw( UnknownPropertyException,
WrappedTargetException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -617,7 +617,7 @@ void SAL_CALL ContentResultSetWrapper
const Reference< XVetoableChangeListener >& xListener )
throw( UnknownPropertyException,
WrappedTargetException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -668,7 +668,7 @@ void SAL_CALL ContentResultSetWrapper
const Reference< XPropertyChangeListener >& xListener )
throw( UnknownPropertyException,
WrappedTargetException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -727,7 +727,7 @@ void SAL_CALL ContentResultSetWrapper
const Reference< XVetoableChangeListener >& xListener )
throw( UnknownPropertyException,
WrappedTargetException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -842,7 +842,7 @@ void SAL_CALL ContentResultSetWrapper
// virtual
OUString SAL_CALL ContentResultSetWrapper
::queryContentIdentifierString()
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
impl_init_xContentAccessOrigin();
@@ -858,7 +858,7 @@ OUString SAL_CALL ContentResultSetWrapper
// virtual
Reference< XContentIdentifier > SAL_CALL ContentResultSetWrapper
::queryContentIdentifier()
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
impl_init_xContentAccessOrigin();
@@ -874,7 +874,7 @@ Reference< XContentIdentifier > SAL_CALL ContentResultSetWrapper
// virtual
Reference< XContent > SAL_CALL ContentResultSetWrapper
::queryContent()
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
impl_init_xContentAccessOrigin();
@@ -894,7 +894,7 @@ Reference< XContent > SAL_CALL ContentResultSetWrapper
sal_Bool SAL_CALL ContentResultSetWrapper
::next()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -910,7 +910,7 @@ sal_Bool SAL_CALL ContentResultSetWrapper
sal_Bool SAL_CALL ContentResultSetWrapper
::previous()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -926,7 +926,7 @@ sal_Bool SAL_CALL ContentResultSetWrapper
sal_Bool SAL_CALL ContentResultSetWrapper
::absolute( sal_Int32 row )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -942,7 +942,7 @@ sal_Bool SAL_CALL ContentResultSetWrapper
sal_Bool SAL_CALL ContentResultSetWrapper
::relative( sal_Int32 rows )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -959,7 +959,7 @@ sal_Bool SAL_CALL ContentResultSetWrapper
sal_Bool SAL_CALL ContentResultSetWrapper
::first()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -975,7 +975,7 @@ sal_Bool SAL_CALL ContentResultSetWrapper
sal_Bool SAL_CALL ContentResultSetWrapper
::last()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -991,7 +991,7 @@ sal_Bool SAL_CALL ContentResultSetWrapper
void SAL_CALL ContentResultSetWrapper
::beforeFirst()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -1007,7 +1007,7 @@ void SAL_CALL ContentResultSetWrapper
void SAL_CALL ContentResultSetWrapper
::afterLast()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -1023,7 +1023,7 @@ void SAL_CALL ContentResultSetWrapper
sal_Bool SAL_CALL ContentResultSetWrapper
::isAfterLast()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -1039,7 +1039,7 @@ sal_Bool SAL_CALL ContentResultSetWrapper
sal_Bool SAL_CALL ContentResultSetWrapper
::isBeforeFirst()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -1055,7 +1055,7 @@ sal_Bool SAL_CALL ContentResultSetWrapper
sal_Bool SAL_CALL ContentResultSetWrapper
::isFirst()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -1071,7 +1071,7 @@ sal_Bool SAL_CALL ContentResultSetWrapper
sal_Bool SAL_CALL ContentResultSetWrapper
::isLast()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -1088,7 +1088,7 @@ sal_Bool SAL_CALL ContentResultSetWrapper
sal_Int32 SAL_CALL ContentResultSetWrapper
::getRow()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -1104,7 +1104,7 @@ sal_Int32 SAL_CALL ContentResultSetWrapper
void SAL_CALL ContentResultSetWrapper
::refreshRow()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -1120,7 +1120,7 @@ void SAL_CALL ContentResultSetWrapper
sal_Bool SAL_CALL ContentResultSetWrapper
::rowUpdated()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -1135,7 +1135,7 @@ sal_Bool SAL_CALL ContentResultSetWrapper
sal_Bool SAL_CALL ContentResultSetWrapper
::rowInserted()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -1151,7 +1151,7 @@ sal_Bool SAL_CALL ContentResultSetWrapper
sal_Bool SAL_CALL ContentResultSetWrapper
::rowDeleted()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
@@ -1167,7 +1167,7 @@ sal_Bool SAL_CALL ContentResultSetWrapper
Reference< XInterface > SAL_CALL ContentResultSetWrapper
::getStatement()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
//@todo ?return anything
@@ -1192,7 +1192,7 @@ return m_xRowOrigin->getXXX( columnIndex );
sal_Bool SAL_CALL ContentResultSetWrapper
::wasNull()
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
impl_EnsureNotDisposed();
impl_init_xRowOrigin();
@@ -1208,7 +1208,7 @@ sal_Bool SAL_CALL ContentResultSetWrapper
OUString SAL_CALL ContentResultSetWrapper
::getString( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getString );
}
@@ -1217,7 +1217,7 @@ OUString SAL_CALL ContentResultSetWrapper
sal_Bool SAL_CALL ContentResultSetWrapper
::getBoolean( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getBoolean );
}
@@ -1226,7 +1226,7 @@ sal_Bool SAL_CALL ContentResultSetWrapper
sal_Int8 SAL_CALL ContentResultSetWrapper
::getByte( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getByte );
}
@@ -1235,7 +1235,7 @@ sal_Int8 SAL_CALL ContentResultSetWrapper
sal_Int16 SAL_CALL ContentResultSetWrapper
::getShort( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getShort );
}
@@ -1244,7 +1244,7 @@ sal_Int16 SAL_CALL ContentResultSetWrapper
sal_Int32 SAL_CALL ContentResultSetWrapper
::getInt( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getInt );
}
@@ -1253,7 +1253,7 @@ sal_Int32 SAL_CALL ContentResultSetWrapper
sal_Int64 SAL_CALL ContentResultSetWrapper
::getLong( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getLong );
}
@@ -1262,7 +1262,7 @@ sal_Int64 SAL_CALL ContentResultSetWrapper
float SAL_CALL ContentResultSetWrapper
::getFloat( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getFloat );
}
@@ -1271,7 +1271,7 @@ float SAL_CALL ContentResultSetWrapper
double SAL_CALL ContentResultSetWrapper
::getDouble( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getDouble );
}
@@ -1280,7 +1280,7 @@ double SAL_CALL ContentResultSetWrapper
Sequence< sal_Int8 > SAL_CALL ContentResultSetWrapper
::getBytes( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getBytes );
}
@@ -1289,7 +1289,7 @@ Sequence< sal_Int8 > SAL_CALL ContentResultSetWrapper
Date SAL_CALL ContentResultSetWrapper
::getDate( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getDate );
}
@@ -1298,7 +1298,7 @@ Date SAL_CALL ContentResultSetWrapper
Time SAL_CALL ContentResultSetWrapper
::getTime( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getTime );
}
@@ -1307,7 +1307,7 @@ Time SAL_CALL ContentResultSetWrapper
DateTime SAL_CALL ContentResultSetWrapper
::getTimestamp( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getTimestamp );
}
@@ -1317,7 +1317,7 @@ Reference< com::sun::star::io::XInputStream >
SAL_CALL ContentResultSetWrapper
::getBinaryStream( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getBinaryStream );
}
@@ -1327,7 +1327,7 @@ Reference< com::sun::star::io::XInputStream >
SAL_CALL ContentResultSetWrapper
::getCharacterStream( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getCharacterStream );
}
@@ -1338,7 +1338,7 @@ Any SAL_CALL ContentResultSetWrapper
const Reference<
com::sun::star::container::XNameAccess >& typeMap )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
//if you change this macro please pay attention to
//define XROW_GETXXX, where this is similar implemented
@@ -1357,7 +1357,7 @@ Any SAL_CALL ContentResultSetWrapper
Reference< XRef > SAL_CALL ContentResultSetWrapper
::getRef( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getRef );
}
@@ -1366,7 +1366,7 @@ Reference< XRef > SAL_CALL ContentResultSetWrapper
Reference< XBlob > SAL_CALL ContentResultSetWrapper
::getBlob( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getBlob );
}
@@ -1375,7 +1375,7 @@ Reference< XBlob > SAL_CALL ContentResultSetWrapper
Reference< XClob > SAL_CALL ContentResultSetWrapper
::getClob( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getClob );
}
@@ -1384,7 +1384,7 @@ Reference< XClob > SAL_CALL ContentResultSetWrapper
Reference< XArray > SAL_CALL ContentResultSetWrapper
::getArray( sal_Int32 columnIndex )
throw( SQLException,
- RuntimeException )
+ RuntimeException, std::exception )
{
XROW_GETXXX( getArray );
}
@@ -1427,7 +1427,7 @@ QUERYINTERFACE_IMPL_END
//virtual
void SAL_CALL ContentResultSetWrapperListener
::disposing( const EventObject& rEventObject )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
if( m_pOwner )
m_pOwner->impl_disposing( rEventObject );
@@ -1440,7 +1440,7 @@ void SAL_CALL ContentResultSetWrapperListener
//virtual
void SAL_CALL ContentResultSetWrapperListener
::propertyChange( const PropertyChangeEvent& rEvt )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
if( m_pOwner )
m_pOwner->impl_propertyChange( rEvt );
@@ -1453,7 +1453,7 @@ void SAL_CALL ContentResultSetWrapperListener
void SAL_CALL ContentResultSetWrapperListener
::vetoableChange( const PropertyChangeEvent& rEvt )
throw( PropertyVetoException,
- RuntimeException )
+ RuntimeException, std::exception )
{
if( m_pOwner )
m_pOwner->impl_vetoableChange( rEvt );