[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Wed Mar 17 20:59:15 UTC 2010


gordonp
Wed Mar 17 16:59:15 EDT 2010
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data
In directory dev.open-bio.org:/tmp/cvs-serv12799/src/main/org/biomoby/shared/data

Modified Files:
	MobyDataUtils.java 
Log Message:
Fixed error messages
moby-live/Java/src/main/org/biomoby/shared/data MobyDataUtils.java,1.9,1.10
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataUtils.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataUtils.java	2007/08/23 14:41:43	1.9
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataUtils.java	2010/03/17 20:59:15	1.10
@@ -196,9 +196,10 @@
 	    throw new MobyException("The passed in element was null");
 	}
 	if(!MobyTags.MOBY.equals(doc_root.getLocalName())){
-	    throw new MobyException("The XML document's root element (" + 
+	    throw new MobyException("The XML document's root element (local " + 
 				    doc_root.getLocalName() +
-				    ") was not " + MobyTags.MOBY);
+				    ", qualified " + doc_root.getNodeName() + 
+				    " ) was not " + MobyTags.MOBY);
 	}
 	NodeList envelope = null;
 	if(!MobyPrefixResolver.MOBY_XML_NAMESPACE.equals(doc_root.getNamespaceURI())){




More information about the MOBY-guts mailing list