Commit in lcsim/src/org/lcsim/util/loop on MAIN | |||
DetectorConditionsConverter.java | +1 | -1 | 1.1 -> 1.2 |
MJC: Provide more information when throwing an exception
diff -u -r1.1 -r1.2 --- DetectorConditionsConverter.java 11 Sep 2007 00:20:59 -0000 1.1 +++ DetectorConditionsConverter.java 12 Sep 2007 18:43:07 -0000 1.2 @@ -28,7 +28,7 @@
} catch (Exception x) {
- throw new RuntimeException("Error reading detector",x);
+ throw new RuntimeException("Error reading detector condition item '"+name+"' for detector '"+manager.getDetector()+"'",x);
} }