summaryrefslogtreecommitdiff
path: root/ucb/source/sorter/sortresult.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/sorter/sortresult.cxx')
-rw-r--r--ucb/source/sorter/sortresult.cxx118
1 files changed, 59 insertions, 59 deletions
diff --git a/ucb/source/sorter/sortresult.cxx b/ucb/source/sorter/sortresult.cxx
index fb2e0d61225d..e6616dba3e5c 100644
--- a/ucb/source/sorter/sortresult.cxx
+++ b/ucb/source/sorter/sortresult.cxx
@@ -111,11 +111,11 @@ public:
// XPropertySetInfo
virtual Sequence< Property > SAL_CALL getProperties()
- throw( RuntimeException );
+ throw( RuntimeException, std::exception );
virtual Property SAL_CALL getPropertyByName( const OUString& aName )
- throw( UnknownPropertyException, RuntimeException );
+ throw( UnknownPropertyException, RuntimeException, std::exception );
virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& Name )
- throw( RuntimeException );
+ throw( RuntimeException, std::exception );
};
@@ -244,7 +244,7 @@ XSERVICEINFO_NOFACTORY_IMPL_1( SortedResultSet,
// XComponent methods.
void SAL_CALL SortedResultSet::dispose()
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -276,7 +276,7 @@ void SAL_CALL SortedResultSet::dispose()
void SAL_CALL SortedResultSet::addEventListener(
const Reference< XEventListener >& Listener )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -290,7 +290,7 @@ void SAL_CALL SortedResultSet::addEventListener(
void SAL_CALL SortedResultSet::removeEventListener(
const Reference< XEventListener >& Listener )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -304,7 +304,7 @@ void SAL_CALL SortedResultSet::removeEventListener(
OUString SAL_CALL
SortedResultSet::queryContentIdentifierString()
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XContentAccess >::query(mxOriginal)->queryContentIdentifierString();
@@ -313,7 +313,7 @@ SortedResultSet::queryContentIdentifierString()
Reference< XContentIdentifier > SAL_CALL
SortedResultSet::queryContentIdentifier()
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XContentAccess >::query(mxOriginal)->queryContentIdentifier();
@@ -322,7 +322,7 @@ SortedResultSet::queryContentIdentifier()
Reference< XContent > SAL_CALL
SortedResultSet::queryContent()
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XContentAccess >::query(mxOriginal)->queryContent();
@@ -333,7 +333,7 @@ SortedResultSet::queryContent()
// XResultSet methods.
sal_Bool SAL_CALL SortedResultSet::next()
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -356,7 +356,7 @@ sal_Bool SAL_CALL SortedResultSet::next()
sal_Bool SAL_CALL SortedResultSet::isBeforeFirst()
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
if ( mnCurEntry )
return sal_False;
@@ -366,7 +366,7 @@ sal_Bool SAL_CALL SortedResultSet::isBeforeFirst()
sal_Bool SAL_CALL SortedResultSet::isAfterLast()
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
if ( mnCurEntry > mnCount )
return sal_True;
@@ -376,7 +376,7 @@ sal_Bool SAL_CALL SortedResultSet::isAfterLast()
sal_Bool SAL_CALL SortedResultSet::isFirst()
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
if ( mnCurEntry == 1 )
return sal_True;
@@ -386,7 +386,7 @@ sal_Bool SAL_CALL SortedResultSet::isFirst()
sal_Bool SAL_CALL SortedResultSet::isLast()
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
if ( mnCurEntry == mnCount )
return sal_True;
@@ -396,7 +396,7 @@ sal_Bool SAL_CALL SortedResultSet::isLast()
void SAL_CALL SortedResultSet::beforeFirst()
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
mnCurEntry = 0;
@@ -405,7 +405,7 @@ void SAL_CALL SortedResultSet::beforeFirst()
void SAL_CALL SortedResultSet::afterLast()
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
mnCurEntry = mnCount+1;
@@ -414,7 +414,7 @@ void SAL_CALL SortedResultSet::afterLast()
sal_Bool SAL_CALL SortedResultSet::first()
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -433,7 +433,7 @@ sal_Bool SAL_CALL SortedResultSet::first()
sal_Bool SAL_CALL SortedResultSet::last()
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -452,7 +452,7 @@ sal_Bool SAL_CALL SortedResultSet::last()
sal_Int32 SAL_CALL SortedResultSet::getRow()
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
return mnCurEntry;
}
@@ -484,7 +484,7 @@ sal_Int32 SAL_CALL SortedResultSet::getRow()
type is FORWARD_ONLY.
*/
sal_Bool SAL_CALL SortedResultSet::absolute( sal_Int32 row )
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -547,7 +547,7 @@ sal_Bool SAL_CALL SortedResultSet::absolute( sal_Int32 row )
current row, or the result set type is FORWARD_ONLY.
*/
sal_Bool SAL_CALL SortedResultSet::relative( sal_Int32 rows )
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -592,7 +592,7 @@ sal_Bool SAL_CALL SortedResultSet::relative( sal_Int32 rows )
is FORWARD_ONLY.
*/
sal_Bool SAL_CALL SortedResultSet::previous()
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -614,7 +614,7 @@ sal_Bool SAL_CALL SortedResultSet::previous()
void SAL_CALL SortedResultSet::refreshRow()
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -628,7 +628,7 @@ void SAL_CALL SortedResultSet::refreshRow()
sal_Bool SAL_CALL SortedResultSet::rowUpdated()
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -642,7 +642,7 @@ sal_Bool SAL_CALL SortedResultSet::rowUpdated()
sal_Bool SAL_CALL SortedResultSet::rowInserted()
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -656,7 +656,7 @@ sal_Bool SAL_CALL SortedResultSet::rowInserted()
sal_Bool SAL_CALL SortedResultSet::rowDeleted()
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -670,7 +670,7 @@ sal_Bool SAL_CALL SortedResultSet::rowDeleted()
Reference< XInterface > SAL_CALL SortedResultSet::getStatement()
- throw ( SQLException, RuntimeException )
+ throw ( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -687,7 +687,7 @@ Reference< XInterface > SAL_CALL SortedResultSet::getStatement()
sal_Bool SAL_CALL SortedResultSet::wasNull()
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->wasNull();
@@ -695,7 +695,7 @@ sal_Bool SAL_CALL SortedResultSet::wasNull()
OUString SAL_CALL SortedResultSet::getString( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getString( columnIndex );
@@ -703,7 +703,7 @@ OUString SAL_CALL SortedResultSet::getString( sal_Int32 columnIndex )
sal_Bool SAL_CALL SortedResultSet::getBoolean( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getBoolean( columnIndex );
@@ -711,7 +711,7 @@ sal_Bool SAL_CALL SortedResultSet::getBoolean( sal_Int32 columnIndex )
sal_Int8 SAL_CALL SortedResultSet::getByte( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getByte( columnIndex );
@@ -719,7 +719,7 @@ sal_Int8 SAL_CALL SortedResultSet::getByte( sal_Int32 columnIndex )
sal_Int16 SAL_CALL SortedResultSet::getShort( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getShort( columnIndex );
@@ -727,14 +727,14 @@ sal_Int16 SAL_CALL SortedResultSet::getShort( sal_Int32 columnIndex )
sal_Int32 SAL_CALL SortedResultSet::getInt( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getInt( columnIndex );
}
sal_Int64 SAL_CALL SortedResultSet::getLong( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getLong( columnIndex );
@@ -742,7 +742,7 @@ sal_Int64 SAL_CALL SortedResultSet::getLong( sal_Int32 columnIndex )
float SAL_CALL SortedResultSet::getFloat( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getFloat( columnIndex );
@@ -750,7 +750,7 @@ float SAL_CALL SortedResultSet::getFloat( sal_Int32 columnIndex )
double SAL_CALL SortedResultSet::getDouble( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getDouble( columnIndex );
@@ -758,7 +758,7 @@ double SAL_CALL SortedResultSet::getDouble( sal_Int32 columnIndex )
Sequence< sal_Int8 > SAL_CALL SortedResultSet::getBytes( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getBytes( columnIndex );
@@ -766,7 +766,7 @@ Sequence< sal_Int8 > SAL_CALL SortedResultSet::getBytes( sal_Int32 columnIndex )
Date SAL_CALL SortedResultSet::getDate( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getDate( columnIndex );
@@ -774,7 +774,7 @@ Date SAL_CALL SortedResultSet::getDate( sal_Int32 columnIndex )
Time SAL_CALL SortedResultSet::getTime( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getTime( columnIndex );
@@ -782,7 +782,7 @@ Time SAL_CALL SortedResultSet::getTime( sal_Int32 columnIndex )
DateTime SAL_CALL SortedResultSet::getTimestamp( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getTimestamp( columnIndex );
@@ -791,7 +791,7 @@ DateTime SAL_CALL SortedResultSet::getTimestamp( sal_Int32 columnIndex )
Reference< XInputStream > SAL_CALL
SortedResultSet::getBinaryStream( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getBinaryStream( columnIndex );
@@ -800,7 +800,7 @@ SortedResultSet::getBinaryStream( sal_Int32 columnIndex )
Reference< XInputStream > SAL_CALL
SortedResultSet::getCharacterStream( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getCharacterStream( columnIndex );
@@ -809,7 +809,7 @@ SortedResultSet::getCharacterStream( sal_Int32 columnIndex )
Any SAL_CALL SortedResultSet::getObject( sal_Int32 columnIndex,
const Reference< XNameAccess >& typeMap )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getObject( columnIndex,
@@ -818,7 +818,7 @@ Any SAL_CALL SortedResultSet::getObject( sal_Int32 columnIndex,
Reference< XRef > SAL_CALL SortedResultSet::getRef( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getRef( columnIndex );
@@ -826,7 +826,7 @@ Reference< XRef > SAL_CALL SortedResultSet::getRef( sal_Int32 columnIndex )
Reference< XBlob > SAL_CALL SortedResultSet::getBlob( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getBlob( columnIndex );
@@ -834,7 +834,7 @@ Reference< XBlob > SAL_CALL SortedResultSet::getBlob( sal_Int32 columnIndex )
Reference< XClob > SAL_CALL SortedResultSet::getClob( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getClob( columnIndex );
@@ -842,7 +842,7 @@ Reference< XClob > SAL_CALL SortedResultSet::getClob( sal_Int32 columnIndex )
Reference< XArray > SAL_CALL SortedResultSet::getArray( sal_Int32 columnIndex )
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XRow >::query(mxOriginal)->getArray( columnIndex );
@@ -854,7 +854,7 @@ Reference< XArray > SAL_CALL SortedResultSet::getArray( sal_Int32 columnIndex )
void SAL_CALL SortedResultSet::close()
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
Reference< XCloseable >::query(mxOriginal)->close();
@@ -865,7 +865,7 @@ void SAL_CALL SortedResultSet::close()
Reference< XResultSetMetaData > SAL_CALL SortedResultSet::getMetaData()
- throw( SQLException, RuntimeException )
+ throw( SQLException, RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
return Reference< XResultSetMetaDataSupplier >::query(mxOriginal)->getMetaData();
@@ -877,7 +877,7 @@ Reference< XResultSetMetaData > SAL_CALL SortedResultSet::getMetaData()
Reference< XPropertySetInfo > SAL_CALL
-SortedResultSet::getPropertySetInfo() throw( RuntimeException )
+SortedResultSet::getPropertySetInfo() throw( RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -898,7 +898,7 @@ void SAL_CALL SortedResultSet::setPropertyValue(
PropertyVetoException,
IllegalArgumentException,
WrappedTargetException,
- RuntimeException )
+ RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -913,7 +913,7 @@ void SAL_CALL SortedResultSet::setPropertyValue(
Any SAL_CALL SortedResultSet::getPropertyValue( const OUString& PropertyName )
throw( UnknownPropertyException,
WrappedTargetException,
- RuntimeException )
+ RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -956,7 +956,7 @@ void SAL_CALL SortedResultSet::addPropertyChangeListener(
const Reference< XPropertyChangeListener >& Listener )
throw( UnknownPropertyException,
WrappedTargetException,
- RuntimeException )
+ RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -973,7 +973,7 @@ void SAL_CALL SortedResultSet::removePropertyChangeListener(
const Reference< XPropertyChangeListener >& Listener )
throw( UnknownPropertyException,
WrappedTargetException,
- RuntimeException )
+ RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -987,7 +987,7 @@ void SAL_CALL SortedResultSet::addVetoableChangeListener(
const Reference< XVetoableChangeListener >& Listener )
throw( UnknownPropertyException,
WrappedTargetException,
- RuntimeException )
+ RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -1004,7 +1004,7 @@ void SAL_CALL SortedResultSet::removeVetoableChangeListener(
const Reference< XVetoableChangeListener >& Listener )
throw( UnknownPropertyException,
WrappedTargetException,
- RuntimeException )
+ RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -2033,7 +2033,7 @@ XTYPEPROVIDER_IMPL_2( SRSPropertySetInfo,
// XPropertySetInfo methods.
Sequence< Property > SAL_CALL
-SRSPropertySetInfo::getProperties() throw( RuntimeException )
+SRSPropertySetInfo::getProperties() throw( RuntimeException, std::exception )
{
return Sequence < Property > ( maProps, 2 );
}
@@ -2041,7 +2041,7 @@ SRSPropertySetInfo::getProperties() throw( RuntimeException )
Property SAL_CALL
SRSPropertySetInfo::getPropertyByName( const OUString& Name )
- throw( UnknownPropertyException, RuntimeException )
+ throw( UnknownPropertyException, RuntimeException, std::exception )
{
if ( Name.equalsAscii( "RowCount" ) )
return maProps[0];
@@ -2054,7 +2054,7 @@ SRSPropertySetInfo::getPropertyByName( const OUString& Name )
sal_Bool SAL_CALL
SRSPropertySetInfo::hasPropertyByName( const OUString& Name )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
if ( Name.equalsAscii( "RowCount" ) )
return sal_True;