diff options
Diffstat (limited to 'mysqlc/source/mysqlc_general.cxx')
-rw-r--r-- | mysqlc/source/mysqlc_general.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mysqlc/source/mysqlc_general.cxx b/mysqlc/source/mysqlc_general.cxx index 57683f666edb..301caa2ca979 100644 --- a/mysqlc/source/mysqlc_general.cxx +++ b/mysqlc/source/mysqlc_general.cxx @@ -32,7 +32,7 @@ using com::sun::star::uno::Any; namespace mysqlc_sdbc_driver { -void throwFeatureNotImplementedException( const sal_Char* _pAsciiFeatureName, const Reference< XInterface >& _rxContext, const Any* _pNextException ) +void throwFeatureNotImplementedException( const sal_Char* _pAsciiFeatureName, const Reference< XInterface >& _rxContext ) throw (SQLException) { const rtl::OUString sMessage = rtl::OUString::createFromAscii( _pAsciiFeatureName ) + ": feature not implemented."; @@ -41,11 +41,11 @@ void throwFeatureNotImplementedException( const sal_Char* _pAsciiFeatureName, co _rxContext, rtl::OUString("HYC00"), 0, - _pNextException ? *_pNextException : Any() + Any() ); } -void throwInvalidArgumentException( const sal_Char* _pAsciiFeatureName, const Reference< XInterface >& _rxContext, const Any* _pNextException ) +void throwInvalidArgumentException( const sal_Char* _pAsciiFeatureName, const Reference< XInterface >& _rxContext ) throw (SQLException) { const rtl::OUString sMessage = rtl::OUString::createFromAscii( _pAsciiFeatureName ) + ": invalid arguments."; @@ -54,7 +54,7 @@ void throwInvalidArgumentException( const sal_Char* _pAsciiFeatureName, const Re _rxContext, rtl::OUString("HYC00"), 0, - _pNextException ? *_pNextException : Any() + Any() ); } |