summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-01 15:37:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-01 16:43:05 +0100
commit968f633b247d06c958d0b5695ab1ed962509f795 (patch)
tree464d3fe9ca4e8e7f5a084636345dad4ead2a1d7f /connectivity/source/drivers/evoab2
parentb35f3dfb1afa78722a4cd8e69a625456a6dd01d6 (diff)
coverity#706382 Uncaught exception
and coverity#706377 coverity#706378 coverity#706382 Change-Id: I17f672e31867b1be77c16a8a6e121a8f67df7c90
Diffstat (limited to 'connectivity/source/drivers/evoab2')
-rw-r--r--connectivity/source/drivers/evoab2/NPreparedStatement.cxx42
-rw-r--r--connectivity/source/drivers/evoab2/NResultSet.cxx34
2 files changed, 38 insertions, 38 deletions
diff --git a/connectivity/source/drivers/evoab2/NPreparedStatement.cxx b/connectivity/source/drivers/evoab2/NPreparedStatement.cxx
index 30fdfdf9dbfd..a7e72c84c802 100644
--- a/connectivity/source/drivers/evoab2/NPreparedStatement.cxx
+++ b/connectivity/source/drivers/evoab2/NPreparedStatement.cxx
@@ -147,7 +147,7 @@ sal_Int32 SAL_CALL OEvoabPreparedStatement::executeUpdate( ) throw(SQLException
void SAL_CALL OEvoabPreparedStatement::setString( sal_Int32 /*parameterIndex*/, const OUString& /*x*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setString", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setString", *this );
}
@@ -171,98 +171,98 @@ Reference< XResultSet > SAL_CALL OEvoabPreparedStatement::executeQuery( ) throw
void SAL_CALL OEvoabPreparedStatement::setBoolean( sal_Int32 /*parameterIndex*/, sal_Bool /*x*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setBoolean", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setBoolean", *this );
}
void SAL_CALL OEvoabPreparedStatement::setByte( sal_Int32 /*parameterIndex*/, sal_Int8 /*x*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setByte", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setByte", *this );
}
void SAL_CALL OEvoabPreparedStatement::setDate( sal_Int32 /*parameterIndex*/, const Date& /*aData*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setDate", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setDate", *this );
}
void SAL_CALL OEvoabPreparedStatement::setTime( sal_Int32 /*parameterIndex*/, const Time& /*aVal*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setTime", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setTime", *this );
}
void SAL_CALL OEvoabPreparedStatement::setTimestamp( sal_Int32 /*parameterIndex*/, const DateTime& /*aVal*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setTimestamp", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setTimestamp", *this );
}
void SAL_CALL OEvoabPreparedStatement::setDouble( sal_Int32 /*parameterIndex*/, double /*x*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setDouble", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setDouble", *this );
}
void SAL_CALL OEvoabPreparedStatement::setFloat( sal_Int32 /*parameterIndex*/, float /*x*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setFloat", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setFloat", *this );
}
void SAL_CALL OEvoabPreparedStatement::setInt( sal_Int32 /*parameterIndex*/, sal_Int32 /*x*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setInt", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setInt", *this );
}
void SAL_CALL OEvoabPreparedStatement::setLong( sal_Int32 /*parameterIndex*/, sal_Int64 /*aVal*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setLong", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setLong", *this );
}
void SAL_CALL OEvoabPreparedStatement::setNull( sal_Int32 /*parameterIndex*/, sal_Int32 /*sqlType*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setNull", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setNull", *this );
}
void SAL_CALL OEvoabPreparedStatement::setClob( sal_Int32 /*parameterIndex*/, const Reference< XClob >& /*x*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setClob", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setClob", *this );
}
void SAL_CALL OEvoabPreparedStatement::setBlob( sal_Int32 /*parameterIndex*/, const Reference< XBlob >& /*x*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setBlob", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setBlob", *this );
}
void SAL_CALL OEvoabPreparedStatement::setArray( sal_Int32 /*parameterIndex*/, const Reference< XArray >& /*x*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setArray", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setArray", *this );
}
void SAL_CALL OEvoabPreparedStatement::setRef( sal_Int32 /*parameterIndex*/, const Reference< XRef >& /*x*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setRef", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setRef", *this );
}
void SAL_CALL OEvoabPreparedStatement::setObjectWithInfo( sal_Int32 /*parameterIndex*/, const Any& /*x*/, sal_Int32 /*sqlType*/, sal_Int32 /*scale*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setObjectWithInfo", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setObjectWithInfo", *this );
}
void SAL_CALL OEvoabPreparedStatement::setObjectNull( sal_Int32 /*parameterIndex*/, sal_Int32 /*sqlType*/, const OUString& /*typeName*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setObjectNull", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setObjectNull", *this );
}
@@ -281,26 +281,26 @@ void SAL_CALL OEvoabPreparedStatement::setObject( sal_Int32 parameterIndex, cons
void SAL_CALL OEvoabPreparedStatement::setShort( sal_Int32 /*parameterIndex*/, sal_Int16 /*x*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setShort", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setShort", *this );
}
void SAL_CALL OEvoabPreparedStatement::setBytes( sal_Int32 /*parameterIndex*/, const Sequence< sal_Int8 >& /*x*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setBytes", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setBytes", *this );
}
void SAL_CALL OEvoabPreparedStatement::setCharacterStream( sal_Int32 /*parameterIndex*/, const Reference< XInputStream >& /*x*/, sal_Int32 /*length*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setCharacterStream", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setCharacterStream", *this );
}
void SAL_CALL OEvoabPreparedStatement::setBinaryStream( sal_Int32 /*parameterIndex*/, const Reference< XInputStream >& /*x*/, sal_Int32 /*length*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XParameters::setBinaryStream", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XParameters::setBinaryStream", *this );
}
diff --git a/connectivity/source/drivers/evoab2/NResultSet.cxx b/connectivity/source/drivers/evoab2/NResultSet.cxx
index f0731e032ba6..81f3bb85d637 100644
--- a/connectivity/source/drivers/evoab2/NResultSet.cxx
+++ b/connectivity/source/drivers/evoab2/NResultSet.cxx
@@ -781,103 +781,103 @@ sal_Bool SAL_CALL OEvoabResultSet::getBoolean( sal_Int32 nColumnNum ) throw(SQLE
sal_Int64 SAL_CALL OEvoabResultSet::getLong( sal_Int32 /*nColumnNum*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XRow::getLong", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XRow::getLong", *this );
return sal_Int64();
}
Reference< XArray > SAL_CALL OEvoabResultSet::getArray( sal_Int32 /*nColumnNum*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XRow::getArray", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XRow::getArray", *this );
return NULL;
}
Reference< XClob > SAL_CALL OEvoabResultSet::getClob( sal_Int32 /*nColumnNum*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XRow::getClob", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XRow::getClob", *this );
return NULL;
}
Reference< XBlob > SAL_CALL OEvoabResultSet::getBlob( sal_Int32 /*nColumnNum*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XRow::getBlob", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XRow::getBlob", *this );
return NULL;
}
Reference< XRef > SAL_CALL OEvoabResultSet::getRef( sal_Int32 /*nColumnNum*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XRow::getRef", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XRow::getRef", *this );
return NULL;
}
Any SAL_CALL OEvoabResultSet::getObject( sal_Int32 /*nColumnNum*/, const Reference< ::com::sun::star::container::XNameAccess >& /*typeMap*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XRow::getObject", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XRow::getObject", *this );
return Any();
}
sal_Int16 SAL_CALL OEvoabResultSet::getShort( sal_Int32 /*nColumnNum*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XRow::getShort", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XRow::getShort", *this );
return 0;
}
::com::sun::star::util::Time SAL_CALL OEvoabResultSet::getTime( sal_Int32 /*nColumnNum*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XRow::getTime", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XRow::getTime", *this );
return ::com::sun::star::util::Time();
}
util::DateTime SAL_CALL OEvoabResultSet::getTimestamp( sal_Int32 /*nColumnNum*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XRow::getTimestamp", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XRow::getTimestamp", *this );
return ::com::sun::star::util::DateTime();
}
Reference< XInputStream > SAL_CALL OEvoabResultSet::getBinaryStream( sal_Int32 /*nColumnNum*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XRow::getBinaryStream", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XRow::getBinaryStream", *this );
return NULL;
}
Reference< XInputStream > SAL_CALL OEvoabResultSet::getCharacterStream( sal_Int32 /*nColumnNum*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XRow::getCharacterStream", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XRow::getCharacterStream", *this );
return NULL;
}
sal_Int8 SAL_CALL OEvoabResultSet::getByte( sal_Int32 /*nColumnNum*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XRow::getByte", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XRow::getByte", *this );
return 0;
}
Sequence< sal_Int8 > SAL_CALL OEvoabResultSet::getBytes( sal_Int32 /*nColumnNum*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XRow::getBytes", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XRow::getBytes", *this );
return Sequence< sal_Int8 >();
}
::com::sun::star::util::Date SAL_CALL OEvoabResultSet::getDate( sal_Int32 /*nColumnNum*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XRow::getDate", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XRow::getDate", *this );
return ::com::sun::star::util::Date();
}
double SAL_CALL OEvoabResultSet::getDouble( sal_Int32 /*nColumnNum*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XRow::getDouble", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XRow::getDouble", *this );
return 0;
}
float SAL_CALL OEvoabResultSet::getFloat( sal_Int32 /*nColumnNum*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XRow::getFloat", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XRow::getFloat", *this );
return 0;
}
sal_Int32 SAL_CALL OEvoabResultSet::getInt( sal_Int32 /*nColumnNum*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFunctionNotSupportedException( "XRow::getInt", *this );
+ ::dbtools::throwFunctionNotSupportedSQLException( "XRow::getInt", *this );
return 0;
}
// XRow Interface Ends