[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Thu Dec 7 16:37:36 UTC 2006


gordonp
Thu Dec  7 11:37:36 EST 2006
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/extended
In directory dev.open-bio.org:/tmp/cvs-serv29629/src/main/org/biomoby/shared/extended

Modified Files:
	ServiceInstanceParser.java 
Log Message:
Updates to secondary article handling
moby-live/Java/src/main/org/biomoby/shared/extended ServiceInstanceParser.java,1.19,1.20
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/extended/ServiceInstanceParser.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/extended/ServiceInstanceParser.java	2006/10/26 00:28:58	1.19
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/extended/ServiceInstanceParser.java	2006/12/07 16:37:36	1.20
@@ -561,7 +561,11 @@
 
 							// create the datatype
 							MobySecondaryData secondary = new MobySecondaryData(articlename);
-							secondary.setDataType(datatype);
+							try{
+                                                            secondary.setDataType(datatype);
+                                                        } catch(Exception e){
+                                                            e.printStackTrace(); // will default to String if unrecognized
+                                                        }
 
 							if (parameter.hasProperty(FetaVocabulary.hasDefaultValue)) {
 								secondary.setDefaultValue(parameter.getProperty(




More information about the MOBY-guts mailing list