[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Sat Jun 9 18:12:53 UTC 2007


gordonp
Sat Jun  9 14:12:52 EDT 2007
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data
In directory dev.open-bio.org:/tmp/cvs-serv4785/src/main/org/biomoby/shared/data

Modified Files:
	MobyDataComposite.java 
Log Message:
Made error message for anonymous member more verbose
moby-live/Java/src/main/org/biomoby/shared/data MobyDataComposite.java,1.15,1.16
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataComposite.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataComposite.java	2007/06/07 23:58:15	1.15
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataComposite.java	2007/06/09 18:12:52	1.16
@@ -59,7 +59,7 @@
 		if(fieldName == null || fieldName.length() == 0){
 		    throw new MobyException("The subelement with index " + i +
 					    " does not have an article " +
-					    "name, which is required");
+					    "name, which is required (tag "+element.getNodeName()+")");
 		}
 		MobyDataObject childObject = (MobyDataObject) createInstanceFromDOM(child);
 		if(childObject == null){




More information about the MOBY-guts mailing list