Print

Print


Author: [log in to unmask]
Date: Mon Jan 12 15:36:05 2015
New Revision: 3488

Log:
Comment out for now exception if there is no IDDecoder for a collection.  This is not necessarily a fatal error.

Modified:
    projects/lcsim/trunk/event-model/src/main/java/org/lcsim/event/base/BaseLCSimEvent.java

Modified: projects/lcsim/trunk/event-model/src/main/java/org/lcsim/event/base/BaseLCSimEvent.java
 =============================================================================
--- projects/lcsim/trunk/event-model/src/main/java/org/lcsim/event/base/BaseLCSimEvent.java	(original)
+++ projects/lcsim/trunk/event-model/src/main/java/org/lcsim/event/base/BaseLCSimEvent.java	Mon Jan 12 15:36:05 2015
@@ -291,8 +291,8 @@
                 result = createIDDecoderFromCellIDEncoding();
 
             // If both methods failed, then there is a problem.
-            if (result == null)
-                throw new RuntimeException("Could not find or create an IDDecoder for the collection: " + name + ", readout: " + readoutName);
+            //if (result == null)
+            //    throw new RuntimeException("Could not find or create an IDDecoder for the collection: " + name + ", readout: " + readoutName);
 
             return result;
         }

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the LCDET-SVN list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCDET-SVN&A=1