Tag: cws_src680_qiq User: fs Date: 06/05/18 01:35:26 Modified: /dba/connectivity/inc/connectivity/ dbexception.hxx
Log: copying the change from CWS dba30 herein (prepend) 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.2&r2=1.14.56.3 Delta lines: +12 -2 -------------------- --- dbexception.hxx 17 May 2006 05:18:55 -0000 1.14.56.2 +++ dbexception.hxx 18 May 2006 08:35:23 -0000 1.14.56.3 @@ -4,9 +4,9 @@ * * $RCSfile: dbexception.hxx,v $ * - * $Revision: 1.14.56.2 $ + * $Revision: 1.14.56.3 $ * - * last change: $Author: fs $ $Date: 2006/05/17 05:18:55 $ + * last change: $Author: fs $ $Date: 2006/05/18 08:35:23 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -97,6 +97,16 @@ // use for events got via XSQLErrorListener::errorOccured SQLExceptionInfo(const ::com::sun::star::uno::Any& _rError); // use with the Reason member of an SQLErrorEvent or with NextElement of an SQLException + + /** prepends a plain error message to the chain of exceptions + @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 + @param _nErrorCode + the ErrorCode of the to-be-constructed SQLException + */ + void prepend( const ::rtl::OUString& _rErrorMessage, const sal_Char* _pAsciiSQLState = NULL, const sal_Int32 _nErrorCode = 0 ); const SQLExceptionInfo& operator=(const ::com::sun::star::sdbc::SQLException& _rError); const SQLExceptionInfo& operator=(const ::com::sun::star::sdbc::SQLWarning& _rError); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
