[Biojava-dev] Exception wrapping in SimpleRichObjectBuilder
Bubba Puryear
bubba.puryear at gmail.com
Tue Jul 4 16:51:23 UTC 2006
One last patch for the day - just added some exception wrapping that aided
me in some debugging earler:
Index: src/org/biojavax/SimpleRichObjectBuilder.java
===================================================================
RCS file:
/home/repository/biojava/biojava-live/src/org/biojavax/SimpleRichObjectBuilder.java,v
retrieving revision 1.7
diff -u -r1.7 SimpleRichObjectBuilder.java
--- src/org/biojavax/SimpleRichObjectBuilder.java 27 Apr 2006 10:16:29
-0000 1.7
+++ src/org/biojavax/SimpleRichObjectBuilder.java 4 Jul 2006 19:54:14
-0000
@@ -32,6 +32,7 @@
* Creates objects and returns them, and stores them in an internal
* map of singletons for reference. Takes up a lot of memory!
* @author Richard Holland
+ * @author Bubba Puryear
* @since 1.5
*/
public class SimpleRichObjectBuilder implements RichObjectBuilder {
@@ -75,7 +76,7 @@
if (i<(paramsList.size()-1)) paramsstuff.append(",");
}
paramsstuff.append(")");
- throw new IllegalArgumentException("Could not find constructor
for "+paramsstuff);
+ throw new IllegalArgumentException("Could not find constructor
for "+paramsstuff, e);
}
}
More information about the biojava-dev
mailing list