diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /mysqlc/source/mysqlc_resultsetmetadata.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'mysqlc/source/mysqlc_resultsetmetadata.cxx')
-rw-r--r-- | mysqlc/source/mysqlc_resultsetmetadata.cxx | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/mysqlc/source/mysqlc_resultsetmetadata.cxx b/mysqlc/source/mysqlc_resultsetmetadata.cxx index 5176b46ba1eb..b52ecf036ea2 100644 --- a/mysqlc/source/mysqlc_resultsetmetadata.cxx +++ b/mysqlc/source/mysqlc_resultsetmetadata.cxx @@ -37,7 +37,7 @@ OResultSetMetaData::~OResultSetMetaData() /* {{{ OResultSetMetaData::getColumnDisplaySize() -I- */ sal_Int32 SAL_CALL OResultSetMetaData::getColumnDisplaySize(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::getColumnDisplaySize"); @@ -55,7 +55,7 @@ sal_Int32 SAL_CALL OResultSetMetaData::getColumnDisplaySize(sal_Int32 column) /* {{{ OResultSetMetaData::getColumnType() -I- */ sal_Int32 SAL_CALL OResultSetMetaData::getColumnType(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::getColumnType"); checkColumnIndex(column); @@ -78,7 +78,7 @@ sal_Int32 SAL_CALL OResultSetMetaData::getColumnType(sal_Int32 column) */ /* {{{ OResultSetMetaData::getColumnCount() -I- */ sal_Int32 SAL_CALL OResultSetMetaData::getColumnCount() - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::getColumnCount"); try { @@ -95,7 +95,7 @@ sal_Int32 SAL_CALL OResultSetMetaData::getColumnCount() /* {{{ OResultSetMetaData::isCaseSensitive() -I- */ sal_Bool SAL_CALL OResultSetMetaData::isCaseSensitive(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::isCaseSensitive"); checkColumnIndex(column); @@ -114,7 +114,7 @@ sal_Bool SAL_CALL OResultSetMetaData::isCaseSensitive(sal_Int32 column) /* {{{ OResultSetMetaData::getSchemaName() -I- */ OUString SAL_CALL OResultSetMetaData::getSchemaName(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::getSchemaName"); checkColumnIndex(column); @@ -133,7 +133,7 @@ OUString SAL_CALL OResultSetMetaData::getSchemaName(sal_Int32 column) /* {{{ OResultSetMetaData::getColumnName() -I- */ OUString SAL_CALL OResultSetMetaData::getColumnName(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::getColumnName"); checkColumnIndex(column); @@ -152,7 +152,7 @@ OUString SAL_CALL OResultSetMetaData::getColumnName(sal_Int32 column) /* {{{ OResultSetMetaData::getTableName() -I- */ OUString SAL_CALL OResultSetMetaData::getTableName(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::getTableName"); checkColumnIndex(column); @@ -171,7 +171,7 @@ OUString SAL_CALL OResultSetMetaData::getTableName(sal_Int32 column) /* {{{ OResultSetMetaData::getCatalogName() -I- */ OUString SAL_CALL OResultSetMetaData::getCatalogName(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::getCatalogName"); checkColumnIndex(column); @@ -190,7 +190,7 @@ OUString SAL_CALL OResultSetMetaData::getCatalogName(sal_Int32 column) /* {{{ OResultSetMetaData::getColumnTypeName() -I- */ OUString SAL_CALL OResultSetMetaData::getColumnTypeName(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::getColumnTypeName"); checkColumnIndex(column); @@ -209,7 +209,7 @@ OUString SAL_CALL OResultSetMetaData::getColumnTypeName(sal_Int32 column) /* {{{ OResultSetMetaData::getColumnLabel() -I- */ OUString SAL_CALL OResultSetMetaData::getColumnLabel(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::getColumnLabel"); checkColumnIndex(column); @@ -228,7 +228,7 @@ OUString SAL_CALL OResultSetMetaData::getColumnLabel(sal_Int32 column) /* {{{ OResultSetMetaData::getColumnServiceName() -I- */ OUString SAL_CALL OResultSetMetaData::getColumnServiceName(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::getColumnServiceName"); checkColumnIndex(column); @@ -241,7 +241,7 @@ OUString SAL_CALL OResultSetMetaData::getColumnServiceName(sal_Int32 column) /* {{{ OResultSetMetaData::isCurrency() -I- */ sal_Bool SAL_CALL OResultSetMetaData::isCurrency(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::isCurrency"); checkColumnIndex(column); @@ -260,7 +260,7 @@ sal_Bool SAL_CALL OResultSetMetaData::isCurrency(sal_Int32 column) /* {{{ OResultSetMetaData::isAutoIncrement() -I- */ sal_Bool SAL_CALL OResultSetMetaData::isAutoIncrement(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::isAutoIncrement"); checkColumnIndex(column); @@ -279,7 +279,7 @@ sal_Bool SAL_CALL OResultSetMetaData::isAutoIncrement(sal_Int32 column) /* {{{ OResultSetMetaData::isSigned() -I- */ sal_Bool SAL_CALL OResultSetMetaData::isSigned(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::isSigned"); checkColumnIndex(column); @@ -298,7 +298,7 @@ sal_Bool SAL_CALL OResultSetMetaData::isSigned(sal_Int32 column) /* {{{ OResultSetMetaData::getPrecision() -I- */ sal_Int32 SAL_CALL OResultSetMetaData::getPrecision(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::getPrecision"); checkColumnIndex(column); @@ -317,7 +317,7 @@ sal_Int32 SAL_CALL OResultSetMetaData::getPrecision(sal_Int32 column) /* {{{ OResultSetMetaData::getScale() -I- */ sal_Int32 SAL_CALL OResultSetMetaData::getScale(sal_Int32 column) - throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) + throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::getScale"); checkColumnIndex(column); @@ -335,7 +335,7 @@ sal_Int32 SAL_CALL OResultSetMetaData::getScale(sal_Int32 column) /* {{{ OResultSetMetaData::isNullable() -I- */ sal_Int32 SAL_CALL OResultSetMetaData::isNullable(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::isNullable"); checkColumnIndex(column); @@ -354,7 +354,7 @@ sal_Int32 SAL_CALL OResultSetMetaData::isNullable(sal_Int32 column) /* {{{ OResultSetMetaData::isSearchable() -I- */ sal_Bool SAL_CALL OResultSetMetaData::isSearchable(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::isSearchable"); checkColumnIndex(column); @@ -373,7 +373,7 @@ sal_Bool SAL_CALL OResultSetMetaData::isSearchable(sal_Int32 column) /* {{{ OResultSetMetaData::isReadOnly() -I- */ sal_Bool SAL_CALL OResultSetMetaData::isReadOnly(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::isReadOnly"); checkColumnIndex(column); @@ -392,7 +392,7 @@ sal_Bool SAL_CALL OResultSetMetaData::isReadOnly(sal_Int32 column) /* {{{ OResultSetMetaData::isDefinitelyWritable() -I- */ sal_Bool SAL_CALL OResultSetMetaData::isDefinitelyWritable(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::isDefinitelyWritable"); checkColumnIndex(column); @@ -411,7 +411,7 @@ sal_Bool SAL_CALL OResultSetMetaData::isDefinitelyWritable(sal_Int32 column) /* {{{ OResultSetMetaData::isWritable() -I- */ sal_Bool SAL_CALL OResultSetMetaData::isWritable(sal_Int32 column) - throw(SQLException, RuntimeException) + throw(SQLException, RuntimeException, std::exception) { OSL_TRACE("OResultSetMetaData::isWritable"); checkColumnIndex(column); |