[MOBY-guts] biomoby commit

Eddie Kawas kawas at pub.open-bio.org
Wed Apr 20 21:42:10 UTC 2005


kawas
Wed Apr 20 17:42:10 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types
In directory pub.open-bio.org:/tmp/cvs-serv23926/org/biomoby/registry/definitions/types

Modified Files:
	JNamespaces.java JServices.java JObjects.java 
Log Message:
removed some import statements, renamed some variables that shadowed super class variables.
Eddie

moby-live/Java/src/main/org/biomoby/registry/definitions/types JNamespaces.java,1.2,1.3 JServices.java,1.2,1.3 JObjects.java,1.3,1.4
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JNamespaces.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JNamespaces.java	2005/04/07 20:58:59	1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JNamespaces.java	2005/04/20 21:42:10	1.3
@@ -56,6 +56,7 @@
             throw new MobyException(
                     "Could not find database driver. Please ensure that you have the right libraries present");
         } catch (SQLException e) {
+            e.printStackTrace();
             throw new MobyException("Database access error.");
         }
     }

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JServices.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JServices.java	2005/04/07 20:58:59	1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JServices.java	2005/04/20 21:42:10	1.3
@@ -59,6 +59,7 @@
             throw new MobyException(
                     "Could not find database driver. Please ensure that you have the right libraries present");
         } catch (SQLException e) {
+            e.printStackTrace();
             throw new MobyException("Database access error.");
         }
     }

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JObjects.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JObjects.java	2005/04/08 15:32:44	1.3
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JObjects.java	2005/04/20 21:42:10	1.4
@@ -59,7 +59,8 @@
             throw new MobyException(
                     "Could not find database driver. Please ensure that you have the right libraries present");
         } catch (SQLException e) {
-            throw new MobyException("Database access error.");
+            e.printStackTrace();
+            throw new MobyException("Database access error: "+e.getSQLState());
         }
     }
 




More information about the MOBY-guts mailing list