minor unexpected error report improvement
authorcrawshaw <crawshaw@ibex.org>
Fri, 31 Dec 2004 10:50:33 +0000 (10:50 +0000)
committercrawshaw <crawshaw@ibex.org>
Fri, 31 Dec 2004 10:50:33 +0000 (10:50 +0000)
darcs-hash:20041231105033-2eb37-cb4d5f0d121b9566d5988da5a80bf077768929e1.gz

src/org/ibex/tool/Compiler.java

index 5dad538..3e4c649 100644 (file)
@@ -410,8 +410,8 @@ public class Compiler {
                     }
                 }
             } catch (ClassFormatException e) {
-                System.out.println("Unexpected ClassFormatException"); // FIXME
-                e.printStackTrace(); return null;
+                e.printStackTrace();
+                throw new Error("unexpected ClassFormatException resolving compiled class: "+e);
             }
             if (veryverbose) System.out.println("  not found");
             return null;