User: obo     
Date: 05/12/21 05:13:46

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

Log:
 INTEGRATION: CWS dba202a (1.12.36); FILE MERGED
 2005/11/24 14:58:05 fs 1.12.36.1: #126615# some more throwFooException

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.12&r2=1.13
Delta lines:  +37 -1
--------------------
--- dbexception.hxx     8 Sep 2005 05:01:10 -0000       1.12
+++ dbexception.hxx     21 Dec 2005 13:13:41 -0000      1.13
@@ -163,6 +163,14 @@
        )       throw ( ::com::sun::star::sdbc::SQLException );
 
 
//----------------------------------------------------------------------------------
+/** throws an exception with SQL state IM001, saying that a certain function 
is not supported
+*/
+void throwFunctionNotSupportedException(
+        const sal_Char* _pAsciiFunctionName,
+        const ::com::sun::star::uno::Reference< 
::com::sun::star::uno::XInterface >& _rxContext,
+        const ::com::sun::star::uno::Any* _pNextException = NULL
+       )       throw ( ::com::sun::star::sdbc::SQLException );
+//----------------------------------------------------------------------------------
 /** throw a function sequence exception
 */
 void throwFunctionSequenceException(const ::com::sun::star::uno::Reference< 
::com::sun::star::uno::XInterface >& _Context,
@@ -188,6 +196,34 @@
                        const ::com::sun::star::uno::Any& _rNextException
                        )
        throw (::com::sun::star::sdbc::SQLException);
+
+//----------------------------------------------------------------------------------
+/** throw a SQLException with SQLState HYC00 (Optional feature not implemented)
+    @param _pAsciiFeatureName
+        an ASCII description of the feature which is not implemented. It's 
recommended that the feature
+        name is built from the name of the interface plus its method, for 
instance "XParameters::updateBinaryStream"
+    @param _rxContext
+        the context of the exception
+    @param _pNextException
+        the next exception to chain into the thrown exception, if any
+*/
+void throwFeatureNotImplementedException(
+        const sal_Char* _pAsciiFeatureName,
+        const ::com::sun::star::uno::Reference< 
::com::sun::star::uno::XInterface >& _rxContext,
+        const ::com::sun::star::uno::Any* _pNextException = NULL
+    )
+    throw (::com::sun::star::sdbc::SQLException);
+
+/** throws an SQLException
+*/
+void throwSQLException(
+        const sal_Char* _pAsciiMessage,
+        const sal_Char* _pAsciiState,
+        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);
 
 //.........................................................................
 }      // namespace dbtools




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

Reply via email to