From 57cd76489c3b87181d5760a18edec459f17781d0 Mon Sep 17 00:00:00 2001 From: crawshaw Date: Fri, 31 Dec 2004 10:50:33 +0000 Subject: [PATCH] minor unexpected error report improvement darcs-hash:20041231105033-2eb37-cb4d5f0d121b9566d5988da5a80bf077768929e1.gz --- src/org/ibex/tool/Compiler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 1.7.10.4