User: kz Date: 05/01/21 08:38:37 Modified: /dba/connectivity/source/commontools/ dbexception.cxx
Log: INTEGRATION: CWS dba22 (1.11.194); FILE MERGED 2004/12/20 15:56:10 fs 1.11.194.1: convenience constructor taking a single string, for #i39187# File Changes: Directory: /dba/connectivity/source/commontools/ ================================================ File [changed]: dbexception.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/commontools/dbexception.cxx?r1=1.11&r2=1.12 Delta lines: +12 -3 -------------------- --- dbexception.cxx 19 Mar 2003 16:38:14 -0000 1.11 +++ dbexception.cxx 21 Jan 2005 16:38:34 -0000 1.12 @@ -123,6 +123,15 @@ } //------------------------------------------------------------------------------ +SQLExceptionInfo::SQLExceptionInfo( const ::rtl::OUString& _rSimpleErrorMessage ) +{ + SQLException aError; + aError.Message = _rSimpleErrorMessage; + m_aContent <<= aError; + implDetermineType(); +} + +//------------------------------------------------------------------------------ SQLExceptionInfo::SQLExceptionInfo(const SQLExceptionInfo& _rCopySource) :m_aContent(_rCopySource.m_aContent) ,m_eType(_rCopySource.m_eType) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
