GeomConverter/src/org/lcsim/geometry/compact/converter/lcdd
diff -u -r1.4 -r1.5
--- PolyhedraBarrelCalorimeter.java 25 Aug 2005 22:53:17 -0000 1.4
+++ PolyhedraBarrelCalorimeter.java 27 Aug 2005 01:09:48 -0000 1.5
@@ -38,10 +38,10 @@
}
public void addToLCDD(LCDD lcdd, SensitiveDetector sens) throws JDOMException
- {
+ {
if ( sens == null)
{
- throw new IllegalArgumentException("PolyhedraBarrelCalorimeter's SD is null.");
+ throw new IllegalArgumentException("PolyhedraBarrelCalorimeter <" + getName() + " has null SD.");
}
/* local refs to LCDD objects */