[MOBY-guts] biomoby commit
Gary Schiltz
gss at pub.open-bio.org
Thu Mar 16 21:48:23 UTC 2006
gss
Thu Mar 16 16:48:22 EST 2006
Update of /home/repository/moby/s-moby/ref-impl/core/src/org/semanticmoby/servlet
In directory pub.open-bio.org:/tmp/cvs-serv8093/src/org/semanticmoby/servlet
Modified Files:
AbstractMobyServlet.java
Log Message:
Removed a printStackTrace call
s-moby/ref-impl/core/src/org/semanticmoby/servlet AbstractMobyServlet.java,1.11,1.12
===================================================================
RCS file: /home/repository/moby/s-moby/ref-impl/core/src/org/semanticmoby/servlet/AbstractMobyServlet.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- /home/repository/moby/s-moby/ref-impl/core/src/org/semanticmoby/servlet/AbstractMobyServlet.java 2006/01/11 10:24:39 1.11
+++ /home/repository/moby/s-moby/ref-impl/core/src/org/semanticmoby/servlet/AbstractMobyServlet.java 2006/03/16 21:48:22 1.12
@@ -72,7 +72,8 @@
/**
* A utility method for getting a buffered reader (as returned by
* the abstract getDescriptionGraphReader() method) for reading
- * from a file.
+ * from a file. If the reader cannot be instantiated (as is the case
+ * when the file doesn't exist), then return null.
*/
protected BufferedReader getFileReader(String fileName) {
@@ -81,7 +82,6 @@
new InputStreamReader(
getServletContext().getResourceAsStream(fileName)));
} catch (Throwable t) {
- t.printStackTrace();
return null;
}
}
More information about the MOBY-guts
mailing list