db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From florianbruck...@apache.org
Subject cvs commit: jakarta-ojb/src/java/org/apache/ojb/tools/mapping/reversedb/gui JFrmMainFrame.java
Date Tue, 28 Jan 2003 19:59:35 GMT
florianbruckner    2003/01/28 11:59:35

  Modified:    src/java/org/apache/ojb/tools/mapping/reversedb/gui
                        JFrmMainFrame.java
  Log:
  simple fix for error reporting
  
  Revision  Changes    Path
  1.4       +6 -4      jakarta-ojb/src/java/org/apache/ojb/tools/mapping/reversedb/gui/JFrmMainFrame.java
  
  Index: JFrmMainFrame.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/java/org/apache/ojb/tools/mapping/reversedb/gui/JFrmMainFrame.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- JFrmMainFrame.java	18 Jun 2002 12:26:41 -0000	1.3
  +++ JFrmMainFrame.java	28 Jan 2003 19:59:35 -0000	1.4
  @@ -186,11 +186,10 @@
       catch (java.sql.SQLException sqlEx)
       {
           java.sql.SQLException currentSqlEx = sqlEx;
  -        System.out.println (sqlEx.getErrorCode() + ":" + sqlEx.getMessage());
  -        while (currentSqlEx.getNextException() != null)
  +        while (currentSqlEx != null)
           {
  -          currentSqlEx = currentSqlEx.getNextException();
             System.out.println (sqlEx.getErrorCode() + ":" + sqlEx.getMessage());
  +          currentSqlEx = currentSqlEx.getNextException();
           }
           sqlEx.printStackTrace();
       }
  @@ -438,6 +437,9 @@
   
   /***************************** Changelog *****************************
   // $Log$
  +// Revision 1.4  2003/01/28 19:59:35  florianbruckner
  +// simple fix for error reporting
  +//
   // Revision 1.3  2002/06/18 12:26:41  florianbruckner
   // changes in Netbeans Form definitions after move to jakarta.
   //
  
  
  

Mime
View raw message