Tag: cws_src680_hsql1808
User: fs      
Date: 2007-07-30 07:22:36+0000
Modified:
   dba/connectivity/source/drivers/jdbc/SQLException.cxx

Log:
 corrected getNextException

File Changes:

Directory: /dba/connectivity/source/drivers/jdbc/
=================================================

File [changed]: SQLException.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/jdbc/SQLException.cxx?r1=1.11&r2=1.11.112.1
Delta lines:  +5 -5
-------------------
--- SQLException.cxx    2006-09-17 02:49:02+0000        1.11
+++ SQLException.cxx    2007-07-30 07:22:33+0000        1.11.112.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: SQLException.cxx,v $
  *
- *  $Revision: 1.11 $
+ *  $Revision: 1.11.112.1 $
  *
- *  last change: $Author: obo $ $Date: 2006/09/17 02:49:02 $
+ *  last change: $Author: fs $ $Date: 2007/07/30 07:22:33 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -107,12 +107,12 @@
        if( t.pEnv ){
 
                // temporaere Variable initialisieren
-               static const char * cSignature = "()Ljava/sql/Exception;";
+               static const char * cSignature = "()Ljava/sql/SQLException;";
                static const char * cMethodName = "getNextException";
                // Java-Call absetzen
                static jmethodID mID = NULL;
                if ( !mID  )
-                       mID  = t.pEnv->GetMethodID( getMyClass(), cMethodName, 
cSignature );
+                       mID  = t.pEnv->GetMethodID( getMyClass(), cMethodName, 
cSignature );OSL_ENSURE(mID,"Unknown method id!");
                if( mID ){
                        out = t.pEnv->CallObjectMethod( object, mID);
                        ThrowSQLException(t.pEnv,0);




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

Reply via email to