minor unexpected error report improvement
[org.ibex.tool.git] / 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;