Tag: cws_src680_kaddrbook User: ebischoff Date: 05/11/24 04:46:37 Modified: /dba/connectivity/source/drivers/kab/ KResultSet.cxx
Log: Raising exeptions for unimplemented functions File Changes: Directory: /dba/connectivity/source/drivers/kab/ ================================================ File [changed]: KResultSet.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/kab/KResultSet.cxx?r1=1.1.2.8&r2=1.1.2.9 Delta lines: +39 -5 -------------------- --- KResultSet.cxx 22 Nov 2005 14:38:54 -0000 1.1.2.8 +++ KResultSet.cxx 24 Nov 2005 12:46:34 -0000 1.1.2.9 @@ -2,9 +2,9 @@ * * $RCSfile: KResultSet.cxx,v $ * - * $Revision: 1.1.2.8 $ + * $Revision: 1.1.2.9 $ * - * last change: $Author: ebischoff $ $Date: 2005/11/22 14:38:54 $ + * last change: $Author: ebischoff $ $Date: 2005/11/24 12:46:34 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -251,6 +251,8 @@ ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabResultSet_BASE::rBHelper.bDisposed); +::dbtools::throwFunctionNotSupportedException(::rtl::OUString::createFromAscii("Not Implemented"), NULL); + return sal_False; } // ------------------------------------------------------------------------- @@ -259,6 +261,8 @@ ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabResultSet_BASE::rBHelper.bDisposed); +::dbtools::throwFunctionNotSupportedException(::rtl::OUString::createFromAscii("Not Implemented"), NULL); + sal_Int8 nRet = 0; return nRet; } @@ -268,6 +272,8 @@ ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabResultSet_BASE::rBHelper.bDisposed); +::dbtools::throwFunctionNotSupportedException(::rtl::OUString::createFromAscii("Not Implemented"), NULL); + sal_Int16 nRet = 0; return nRet; } @@ -277,6 +283,8 @@ ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabResultSet_BASE::rBHelper.bDisposed); +::dbtools::throwFunctionNotSupportedException(::rtl::OUString::createFromAscii("Not Implemented"), NULL); + sal_Int32 nRet = 0; return nRet; } @@ -286,6 +294,8 @@ ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabResultSet_BASE::rBHelper.bDisposed); +::dbtools::throwFunctionNotSupportedException(::rtl::OUString::createFromAscii("Not Implemented"), NULL); + return sal_Int64(); } // ------------------------------------------------------------------------- @@ -294,6 +304,8 @@ ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabResultSet_BASE::rBHelper.bDisposed); +::dbtools::throwFunctionNotSupportedException(::rtl::OUString::createFromAscii("Not Implemented"), NULL); + float nVal(0); return nVal; } @@ -303,6 +315,8 @@ ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabResultSet_BASE::rBHelper.bDisposed); +::dbtools::throwFunctionNotSupportedException(::rtl::OUString::createFromAscii("Not Implemented"), NULL); + double nRet = 0; return nRet; } @@ -312,6 +326,8 @@ ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabResultSet_BASE::rBHelper.bDisposed); +::dbtools::throwFunctionNotSupportedException(::rtl::OUString::createFromAscii("Not Implemented"), NULL); + return Sequence< sal_Int8 >(); } // ------------------------------------------------------------------------- @@ -320,6 +336,8 @@ ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabResultSet_BASE::rBHelper.bDisposed); +::dbtools::throwFunctionNotSupportedException(::rtl::OUString::createFromAscii("Not Implemented"), NULL); + Date aRet; return aRet; } @@ -329,6 +347,8 @@ ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabResultSet_BASE::rBHelper.bDisposed); +::dbtools::throwFunctionNotSupportedException(::rtl::OUString::createFromAscii("Not Implemented"), NULL); + Time nRet; return nRet; } @@ -377,6 +397,8 @@ ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabResultSet_BASE::rBHelper.bDisposed); +::dbtools::throwFunctionNotSupportedException(::rtl::OUString::createFromAscii("Not Implemented"), NULL); + return NULL; } // ------------------------------------------------------------------------- @@ -385,6 +407,8 @@ ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabResultSet_BASE::rBHelper.bDisposed); +::dbtools::throwFunctionNotSupportedException(::rtl::OUString::createFromAscii("Not Implemented"), NULL); + return NULL; } // ------------------------------------------------------------------------- @@ -393,6 +417,8 @@ ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabResultSet_BASE::rBHelper.bDisposed); +::dbtools::throwFunctionNotSupportedException(::rtl::OUString::createFromAscii("Not Implemented"), NULL); + return Any(); } // ------------------------------------------------------------------------- @@ -401,6 +427,8 @@ ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabResultSet_BASE::rBHelper.bDisposed); +::dbtools::throwFunctionNotSupportedException(::rtl::OUString::createFromAscii("Not Implemented"), NULL); + return NULL; } // ------------------------------------------------------------------------- @@ -409,6 +437,8 @@ ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabResultSet_BASE::rBHelper.bDisposed); +::dbtools::throwFunctionNotSupportedException(::rtl::OUString::createFromAscii("Not Implemented"), NULL); + return NULL; } // ------------------------------------------------------------------------- @@ -417,6 +447,8 @@ ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabResultSet_BASE::rBHelper.bDisposed); +::dbtools::throwFunctionNotSupportedException(::rtl::OUString::createFromAscii("Not Implemented"), NULL); + return NULL; } // ------------------------------------------------------------------------- @@ -424,6 +456,8 @@ { ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(KabResultSet_BASE::rBHelper.bDisposed); + +::dbtools::throwFunctionNotSupportedException(::rtl::OUString::createFromAscii("Not Implemented"), NULL); return NULL; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
