Tag: cws_src680_qiq User: fs Date: 06/05/11 01:58:32 Modified: /dba/connectivity/inc/connectivity/ dbexception.hxx
Log: #i51143# +SQL_ERROR_UNSPECIFIED 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&r2=1.14.56.1 Delta lines: +11 -5 -------------------- --- dbexception.hxx 25 Jan 2006 14:59:49 -0000 1.14 +++ dbexception.hxx 11 May 2006 08:58:29 -0000 1.14.56.1 @@ -4,9 +4,9 @@ * * $RCSfile: dbexception.hxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.14.56.1 $ * - * last change: $Author: hr $ $Date: 2006/01/25 14:59:49 $ + * last change: $Author: fs $ $Date: 2006/05/11 08:58:29 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -111,7 +111,7 @@ operator const ::com::sun::star::sdbc::SQLWarning* () const; operator const ::com::sun::star::sdb::SQLContext* () const; - ::com::sun::star::uno::Any get() const { return m_aContent; } + const ::com::sun::star::uno::Any& get() const { return m_aContent; } protected: void implDetermineType(); @@ -176,12 +176,16 @@ SQL_INVALID_CURSOR_POSITION, // HY109 SQL_INVALID_BOOKMARK_VALUE, // HY111 SQL_FEATURE_NOT_IMPLEMENTED, // HYC00 - SQL_FUNCTION_NOT_SUPPORTED // IM001 + SQL_FUNCTION_NOT_SUPPORTED, // IM001 + + SQL_ERROR_UNSPECIFIED = SAL_MAX_ENUM // special value indicating that an SQLState is not to be specified }; //---------------------------------------------------------------------------------- /** returns a standard error string for a given SQLState + @param _eState + describes the state whose description is to retrieve. Must not be SQL_ERROR_UNSPECIFIED. @raises RuntimeException in case of an internal error */ @@ -190,6 +194,8 @@ //---------------------------------------------------------------------------------- /** returns a standard ASCII string for a given SQLState + @param _eState + describes the state whose description is to retrieve. Must not be SQL_ERROR_UNSPECIFIED. @return a non-<NULL/> pointer to an ASCII character string denoting the requested SQLState @raises RuntimeException --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
