From: crawshaw Date: Fri, 31 Dec 2004 10:50:33 +0000 (+0000) Subject: minor unexpected error report improvement X-Git-Url: http://git.megacz.com/?p=org.ibex.tool.git;a=commitdiff_plain;h=57cd76489c3b87181d5760a18edec459f17781d0 minor unexpected error report improvement darcs-hash:20041231105033-2eb37-cb4d5f0d121b9566d5988da5a80bf077768929e1.gz --- diff --git a/src/org/ibex/tool/Compiler.java b/src/org/ibex/tool/Compiler.java index 5dad538..3e4c649 100644 --- a/src/org/ibex/tool/Compiler.java +++ b/src/org/ibex/tool/Compiler.java @@ -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;