diff options
author | Ocke Janssen <oj@openoffice.org> | 2001-03-30 13:08:05 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2001-03-30 13:08:05 +0000 |
commit | f55e0f5fa5bde13437a10f29affb797c8d767cdd (patch) | |
tree | 5187c24e09e2ff9a6416d334296584bfc14c5984 /connectivity/source/drivers/ado | |
parent | 2c7d09b02814986e858d37e34eef123bf913b208 (diff) |
index exception now gives information about index
Diffstat (limited to 'connectivity/source/drivers/ado')
-rw-r--r-- | connectivity/source/drivers/ado/AColumns.cxx | 6 | ||||
-rw-r--r-- | connectivity/source/drivers/ado/AGroups.cxx | 6 | ||||
-rw-r--r-- | connectivity/source/drivers/ado/AIndexes.cxx | 6 | ||||
-rw-r--r-- | connectivity/source/drivers/ado/AKeys.cxx | 6 | ||||
-rw-r--r-- | connectivity/source/drivers/ado/ATables.cxx | 6 | ||||
-rw-r--r-- | connectivity/source/drivers/ado/AUsers.cxx | 8 | ||||
-rw-r--r-- | connectivity/source/drivers/ado/AViews.cxx | 6 |
7 files changed, 23 insertions, 21 deletions
diff --git a/connectivity/source/drivers/ado/AColumns.cxx b/connectivity/source/drivers/ado/AColumns.cxx index d8b69dd34764..aeb25026cb36 100644 --- a/connectivity/source/drivers/ado/AColumns.cxx +++ b/connectivity/source/drivers/ado/AColumns.cxx @@ -2,9 +2,9 @@ * * $RCSfile: AColumns.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: oj $ $Date: 2000-11-03 14:09:51 $ + * last change: $Author: oj $ $Date: 2001-03-30 14:07:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -139,7 +139,7 @@ void SAL_CALL OColumns::dropByIndex( sal_Int32 index ) throw(SQLException, Index { ::osl::MutexGuard aGuard(m_rMutex); if (index < 0 || index >= getCount()) - throw IndexOutOfBoundsException(); + throw IndexOutOfBoundsException(::rtl::OUString::valueOf(index),*this); m_pCollection->Delete(OLEVariant(index)); OCollection_TYPE::dropByIndex(index); diff --git a/connectivity/source/drivers/ado/AGroups.cxx b/connectivity/source/drivers/ado/AGroups.cxx index d3e75885d029..354580f7e2eb 100644 --- a/connectivity/source/drivers/ado/AGroups.cxx +++ b/connectivity/source/drivers/ado/AGroups.cxx @@ -2,9 +2,9 @@ * * $RCSfile: AGroups.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:14:20 $ + * last change: $Author: oj $ $Date: 2001-03-30 14:07:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -135,7 +135,7 @@ void SAL_CALL OGroups::dropByIndex( sal_Int32 index ) throw(SQLException, IndexO { ::osl::MutexGuard aGuard(m_rMutex); if (index < 0 || index >= getCount()) - throw IndexOutOfBoundsException(); + throw IndexOutOfBoundsException(::rtl::OUString::valueOf(index),*this); m_pCollection->Delete(OLEVariant(index)); diff --git a/connectivity/source/drivers/ado/AIndexes.cxx b/connectivity/source/drivers/ado/AIndexes.cxx index eb93fd71fa87..ac5593641657 100644 --- a/connectivity/source/drivers/ado/AIndexes.cxx +++ b/connectivity/source/drivers/ado/AIndexes.cxx @@ -2,9 +2,9 @@ * * $RCSfile: AIndexes.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: oj $ $Date: 2000-11-03 14:09:51 $ + * last change: $Author: oj $ $Date: 2001-03-30 14:07:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -138,7 +138,7 @@ void SAL_CALL OIndexes::dropByIndex( sal_Int32 index ) throw(SQLException, Index { ::osl::MutexGuard aGuard(m_rMutex); if (index < 0 || index >= getCount()) - throw IndexOutOfBoundsException(); + throw IndexOutOfBoundsException(::rtl::OUString::valueOf(index),*this); m_pCollection->Delete(OLEVariant(index)); diff --git a/connectivity/source/drivers/ado/AKeys.cxx b/connectivity/source/drivers/ado/AKeys.cxx index 78eaef03572e..f3b246e2a236 100644 --- a/connectivity/source/drivers/ado/AKeys.cxx +++ b/connectivity/source/drivers/ado/AKeys.cxx @@ -2,9 +2,9 @@ * * $RCSfile: AKeys.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: oj $ $Date: 2000-11-03 14:09:51 $ + * last change: $Author: oj $ $Date: 2001-03-30 14:07:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -145,7 +145,7 @@ void SAL_CALL OKeys::dropByIndex( sal_Int32 index ) throw(SQLException, IndexOut { ::osl::MutexGuard aGuard(m_rMutex); if (index < 0 || index >= getCount()) - throw IndexOutOfBoundsException(); + throw IndexOutOfBoundsException(::rtl::OUString::valueOf(index),*this); m_pCollection->Delete(OLEVariant(index)); diff --git a/connectivity/source/drivers/ado/ATables.cxx b/connectivity/source/drivers/ado/ATables.cxx index c5418298ff6e..8825781c41c1 100644 --- a/connectivity/source/drivers/ado/ATables.cxx +++ b/connectivity/source/drivers/ado/ATables.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ATables.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: oj $ $Date: 2000-11-03 14:09:51 $ + * last change: $Author: oj $ $Date: 2001-03-30 14:07:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -147,7 +147,7 @@ void SAL_CALL OTables::dropByIndex( sal_Int32 index ) throw(SQLException, IndexO { ::osl::MutexGuard aGuard(m_rMutex); if (index < 0 || index >= getCount()) - throw IndexOutOfBoundsException(); + throw IndexOutOfBoundsException(::rtl::OUString::valueOf(index),*this); m_pCollection->Delete(OLEVariant(index)); diff --git a/connectivity/source/drivers/ado/AUsers.cxx b/connectivity/source/drivers/ado/AUsers.cxx index 29a2c9bf3f56..23ca857dfb63 100644 --- a/connectivity/source/drivers/ado/AUsers.cxx +++ b/connectivity/source/drivers/ado/AUsers.cxx @@ -2,9 +2,9 @@ * * $RCSfile: AUsers.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:14:21 $ + * last change: $Author: oj $ $Date: 2001-03-30 14:07:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -135,10 +135,12 @@ void SAL_CALL OUsers::dropByIndex( sal_Int32 index ) throw(SQLException, IndexOu { ::osl::MutexGuard aGuard(m_rMutex); if (index < 0 || index >= getCount()) - throw IndexOutOfBoundsException(); + throw IndexOutOfBoundsException(::rtl::OUString::valueOf(index),*this); m_pCollection->Delete(OLEVariant(index)); OCollection_TYPE::dropByIndex(index); } +// ----------------------------------------------------------------------------- + diff --git a/connectivity/source/drivers/ado/AViews.cxx b/connectivity/source/drivers/ado/AViews.cxx index 3767c6f59be0..b97c68c0aff7 100644 --- a/connectivity/source/drivers/ado/AViews.cxx +++ b/connectivity/source/drivers/ado/AViews.cxx @@ -2,9 +2,9 @@ * * $RCSfile: AViews.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: oj $ $Date: 2000-10-24 16:11:26 $ + * last change: $Author: oj $ $Date: 2001-03-30 14:07:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -148,7 +148,7 @@ void SAL_CALL OViews::dropByIndex( sal_Int32 index ) throw(SQLException, IndexOu { ::osl::MutexGuard aGuard(m_rMutex); if (index < 0 || index >= getCount()) - throw IndexOutOfBoundsException(); + throw IndexOutOfBoundsException(::rtl::OUString::valueOf(index),*this); m_pCollection->Delete(OLEVariant(index)); |