LCGO/src/java/hep/lcgo/xml/reader/util
diff -u -r1.1 -r1.2
--- DefaultElementFactory.java 29 Sep 2006 16:27:19 -0000 1.1
+++ DefaultElementFactory.java 1 Nov 2006 13:50:46 -0000 1.2
@@ -74,7 +74,7 @@
}
catch (InstantiationException x)
{
- throw new ElementCreationException("Could not create element: "+type,x.getCause());
+ throw new ElementCreationException("Could not create element: "+type);
}
catch (IllegalAccessException x)
{
LCGO/src/java/hep/lcgo/xml/reader/util
diff -u -r1.1 -r1.2
--- JDOMExpressionFactory.java 29 Sep 2006 16:27:19 -0000 1.1
+++ JDOMExpressionFactory.java 1 Nov 2006 13:50:46 -0000 1.2
@@ -142,7 +142,7 @@
}
catch (CompilationException x)
{
- throw new RuntimeException(x); // should never happen
+ throw new RuntimeException(x.getMessage()); // should never happen
}
}