Tag: cws_src680_qiq
User: fs      
Date: 2006/06/30 06:01:58

Modified:
   dba/connectivity/inc/connectivity/dbexception.hxx

Log:
 #i51143# +SQL_CYCLIC_SUB_QUERIES

File Changes:

Directory: /dba/connectivity/inc/connectivity/
==============================================

File [changed]: dbexception.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/inc/connectivity/dbexception.hxx?r1=1.14.56.8&r2=1.14.56.9
Delta lines:  +20 -6
--------------------
--- dbexception.hxx     27 Jun 2006 13:51:51 -0000      1.14.56.8
+++ dbexception.hxx     30 Jun 2006 13:01:55 -0000      1.14.56.9
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: dbexception.hxx,v $
  *
- *  $Revision: 1.14.56.8 $
+ *  $Revision: 1.14.56.9 $
  *
- *  last change: $Author: fs $ $Date: 2006/06/27 13:51:51 $
+ *  last change: $Author: fs $ $Date: 2006/06/30 13:01:55 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -93,6 +93,8 @@
     SQL_FUNCTION_NOT_SUPPORTED,     // IM001
     SQL_CONNECTION_DOES_NOT_EXIST,  // 08003
 
+    SQL_CYCLIC_SUB_QUERIES,         // OB001
+
     SQL_ERROR_UNSPECIFIED = SAL_MAX_ENUM    // special value indicating that 
an SQLState is not to be specified
 };
 
@@ -135,7 +137,7 @@
         @param  _rSimpleErrorMessage
             the error message to prepend
         @param  _pAsciiSQLState
-            the SQLState of the to-be-constructed SQLException, or NULL if 
this should be defaulted to S1000
+            the SQLState of the to-be-constructed SQLException, or NULL if 
this should be defaulted to HY000
         @param  _nErrorCode
             the ErrorCode of the to-be-constructed SQLException
     */
@@ -322,7 +324,7 @@
     throw ( ::com::sun::star::sdbc::SQLException );
 
 
//----------------------------------------------------------------------------------
-/** throw a generic SQLException, i.e. one with an SQLState of S1000, an 
ErrorCode of 0 and no NextException
+/** throw a generic SQLException, i.e. one with an SQLState of HY000, an 
ErrorCode of 0 and no NextException
 */
 void throwGenericSQLException(
         const ::rtl::OUString& _rMsg,
@@ -331,7 +333,7 @@
     throw (::com::sun::star::sdbc::SQLException);
 
 
//----------------------------------------------------------------------------------
-/** throw a generic SQLException, i.e. one with an SQLState of S1000, an 
ErrorCode of 0 and no NextException
+/** throw a generic SQLException, i.e. one with an SQLState of HY000, an 
ErrorCode of 0 and no NextException
 */
 void throwGenericSQLException(
                const ::rtl::OUString& _rMsg,
@@ -374,6 +376,18 @@
 */
 void throwSQLException(
         const sal_Char* _pAsciiMessage,
+        StandardSQLState _eSQLState,
+        const ::com::sun::star::uno::Reference< 
::com::sun::star::uno::XInterface >& _rxContext,
+        const sal_Int32 _nErrorCode = 0,
+        const ::com::sun::star::uno::Any* _pNextException = NULL
+    )
+    throw (::com::sun::star::sdbc::SQLException);
+
+//----------------------------------------------------------------------------------
+/** throws an SQLException
+*/
+void throwSQLException(
+        const ::rtl::OUString& _rMessage,
         StandardSQLState _eSQLState,
         const ::com::sun::star::uno::Reference< 
::com::sun::star::uno::XInterface >& _rxContext,
         const sal_Int32 _nErrorCode = 0,




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to