Tag: cws_src680_qiq
User: fs      
Date: 06/05/30 05:55:34

Modified:
 /dba/dbaccess/source/core/inc/
  objectnameapproval.hxx

Log:
 +ErrorReportType

File Changes:

Directory: /dba/dbaccess/source/core/inc/
=========================================

File [changed]: objectnameapproval.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/inc/objectnameapproval.hxx?r1=1.1.2.1&r2=1.1.2.2
Delta lines:  +14 -5
--------------------
--- objectnameapproval.hxx      24 May 2006 14:49:08 -0000      1.1.2.1
+++ objectnameapproval.hxx      30 May 2006 12:55:31 -0000      1.1.2.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: objectnameapproval.hxx,v $
  *
- *  $Revision: 1.1.2.1 $
+ *  $Revision: 1.1.2.2 $
  *
- *  last change: $Author: fs $ $Date: 2006/05/24 14:49:08 $
+ *  last change: $Author: fs $ $Date: 2006/05/30 12:55:31 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -75,6 +75,15 @@
             TypeTable
         };
 
+        // how to report errors in the approval process?
+        enum ErrorReportType
+        {
+            /// throw an SQL exception
+            ThrowSQLException,
+            /// wrap an SQLException into a WrappedTargetException
+            WrapSQLException
+        };
+
     public:
         /** constructs the instance
 
@@ -87,7 +96,8 @@
         */
         ObjectNameApproval(
             const ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XConnection >& _rxConnection,
-            ObjectType _eType
+            ObjectType _eType,
+            ErrorReportType _eReportType
         ); 
         virtual ~ObjectNameApproval();
 
@@ -101,4 +111,3 @@
 //........................................................................
 
 #endif // DBACCESS_OBJECTNAMEAPPROVAL_HXX
-




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

Reply via email to