diff options
Diffstat (limited to 'include/ucbhelper/resultsetmetadata.hxx')
-rw-r--r-- | include/ucbhelper/resultsetmetadata.hxx | 93 |
1 files changed, 24 insertions, 69 deletions
diff --git a/include/ucbhelper/resultsetmetadata.hxx b/include/ucbhelper/resultsetmetadata.hxx index 5b397d6603f9..8474cf100433 100644 --- a/include/ucbhelper/resultsetmetadata.hxx +++ b/include/ucbhelper/resultsetmetadata.hxx @@ -143,8 +143,7 @@ public: virtual ~ResultSetMetaData() override; // XInterface - virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; virtual void SAL_CALL acquire() throw() override; virtual void SAL_CALL release() @@ -152,11 +151,9 @@ public: // XTypeProvider virtual css::uno::Sequence< sal_Int8 > SAL_CALL - getImplementationId() - throw( css::uno::RuntimeException, std::exception ) override; + getImplementationId() override; virtual css::uno::Sequence< css::uno::Type > SAL_CALL - getTypes() - throw( css::uno::RuntimeException, std::exception ) override; + getTypes() override; // XResultSetMetaData @@ -166,9 +163,7 @@ public: * @return the length of the property sequence. */ virtual sal_Int32 SAL_CALL - getColumnCount() - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + getColumnCount() override; /** * Checks whether column is automatically numbered, which makes it * read-only. @@ -178,9 +173,7 @@ public: * @return true, if column is automatically numbered. */ virtual sal_Bool SAL_CALL - isAutoIncrement( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + isAutoIncrement( sal_Int32 column ) override; /** * Checks whether column is case sensitive. * @@ -189,9 +182,7 @@ public: * @return true, if column is case sensitive. */ virtual sal_Bool SAL_CALL - isCaseSensitive( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + isCaseSensitive( sal_Int32 column ) override; /** * Checks whether the value stored in column can be used in a * WHERE clause. @@ -201,9 +192,7 @@ public: * @return true, if the column is searchable. */ virtual sal_Bool SAL_CALL - isSearchable( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + isSearchable( sal_Int32 column ) override; /** * Checks whether column is a cash value. * @@ -212,9 +201,7 @@ public: * @return true, if the column is a cash value. */ virtual sal_Bool SAL_CALL - isCurrency( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + isCurrency( sal_Int32 column ) override; /** * Checks whether a NULL can be stored in column. * @@ -226,9 +213,7 @@ public: * can be stored in the column. */ virtual sal_Int32 SAL_CALL - isNullable( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + isNullable( sal_Int32 column ) override; /** * Checks whether the value stored in column is a signed number. * @@ -237,9 +222,7 @@ public: * @return true, if the value stored in column is a signed number. */ virtual sal_Bool SAL_CALL - isSigned( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + isSigned( sal_Int32 column ) override; /** * Gets the normal maximum width in characters for column. * @@ -248,9 +231,7 @@ public: * @return the normal maximum width in characters for column. */ virtual sal_Int32 SAL_CALL - getColumnDisplaySize( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + getColumnDisplaySize( sal_Int32 column ) override; /** * Gets the suggested column title for column, to be used in print- * outs and displays. @@ -260,9 +241,7 @@ public: * @return the column label. */ virtual OUString SAL_CALL - getColumnLabel( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + getColumnLabel( sal_Int32 column ) override; /** * Gets the name of column. * @@ -271,9 +250,7 @@ public: * @return the name of the property that corresponds to column. */ virtual OUString SAL_CALL - getColumnName( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + getColumnName( sal_Int32 column ) override; /** * Gets the schema name for the table from which column of this * result set was derived. @@ -285,9 +262,7 @@ public: * @return the schema name of column or an empty string. */ virtual OUString SAL_CALL - getSchemaName( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + getSchemaName( sal_Int32 column ) override; /** * For number types, getprecision gets the number of decimal digits * in column. @@ -300,9 +275,7 @@ public: * @return the precision for the column. */ virtual sal_Int32 SAL_CALL - getPrecision( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + getPrecision( sal_Int32 column ) override; /** * Gets the number of digits to the right of the decimal point for * values in column. @@ -312,9 +285,7 @@ public: * @return the scale of the column. */ virtual sal_Int32 SAL_CALL - getScale( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + getScale( sal_Int32 column ) override; /** * Gets the name of the table from which column of this result set * was derived or "" if there is none (for example, for a join). @@ -326,9 +297,7 @@ public: * @return the table name for column or an empty string. */ virtual OUString SAL_CALL - getTableName( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + getTableName( sal_Int32 column ) override; virtual OUString SAL_CALL /** * Gets the catalog name for the table from which column of this @@ -340,9 +309,7 @@ public: * be returned. The first column is 1, the second is 2, ... * @return the catalog name for column or an empty string. */ - getCatalogName( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + getCatalogName( sal_Int32 column ) override; /** * Gets the JDBC type for the value stored in column. ... The STRUCT * and DISTINCT type codes are always returned for structured and @@ -355,9 +322,7 @@ public: * from UNO-Type to SQL-Type. */ virtual sal_Int32 SAL_CALL - getColumnType( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + getColumnType( sal_Int32 column ) override; /** * Gets the type name used by this particular data source for the * values stored in column. If the type code for the type of value @@ -369,9 +334,7 @@ public: * @return the column type name. */ virtual OUString SAL_CALL - getColumnTypeName( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + getColumnTypeName( sal_Int32 column ) override; /** * Indicates whether a column is definitely not writable. * @@ -380,9 +343,7 @@ public: * @return true, if the column is definetely not writable. */ virtual sal_Bool SAL_CALL - isReadOnly( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + isReadOnly( sal_Int32 column ) override; /** * Indicates whether it is possible for a write on the column to succeed. * @@ -391,9 +352,7 @@ public: * @return true, if it is possible for a write to succeed. */ virtual sal_Bool SAL_CALL - isWritable( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + isWritable( sal_Int32 column ) override; /** * Indicates whether a write on the column will definitely succeed. * @@ -402,9 +361,7 @@ public: * @return true, if a write on the column will definetely succeed. */ virtual sal_Bool SAL_CALL - isDefinitelyWritable( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + isDefinitelyWritable( sal_Int32 column ) override; /** * Returns the fully-qualified name of the service whose instances * are manufactured if the method @@ -417,9 +374,7 @@ public: * is applicable. */ virtual OUString SAL_CALL - getColumnServiceName( sal_Int32 column ) - throw( css::sdbc::SQLException, - css::uno::RuntimeException, std::exception ) override; + getColumnServiceName( sal_Int32 column ) override; }; } // namespace ucbhelper |