Print

Print


Commit in GeomConverter/src/org/lcsim/geometry/compact on MAIN
CompactReader.java+2-21.44 -> 1.45
JM: improve cryptic error message

GeomConverter/src/org/lcsim/geometry/compact
CompactReader.java 1.44 -> 1.45
diff -u -r1.44 -r1.45
--- CompactReader.java	13 Feb 2009 00:21:14 -0000	1.44
+++ CompactReader.java	20 Feb 2009 04:01:40 -0000	1.45
@@ -28,7 +28,7 @@
  * org.lcsim.geometry.GeometryReader class, which extends this.
  *
  * @author tonyj
- * @version $Id: CompactReader.java,v 1.44 2009/02/13 00:21:14 jeremy Exp $
+ * @version $Id: CompactReader.java,v 1.45 2009/02/20 04:01:40 jeremy Exp $
  *
  */
 public class CompactReader
@@ -206,7 +206,7 @@
             if (visref != null)
             {
             	VisAttributes vis = det.getVisAttributes().get(visref);
-            	if (vis==null) throw new JDOMException("Unknown vis " + visref);
+            	if (vis==null) throw new JDOMException("Unknown vis " + visref + " for subdetector " + sub.getName() + " in compact description.");
             	sub.setVisAttributes(vis);
             }
             
CVSspam 0.2.8