Commit in LCGO/src/java/hep/lcgo/xml/reader/util on MAIN
DefaultElementFactory.java+1-11.1 -> 1.2
JDOMExpressionFactory.java+1-11.1 -> 1.2
+2-2
2 modified files
Get rid of nested exceptions for GCJ3 compatibility

LCGO/src/java/hep/lcgo/xml/reader/util
DefaultElementFactory.java 1.1 -> 1.2
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
JDOMExpressionFactory.java 1.1 -> 1.2
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
       }
    }
    
CVSspam 0.2.8