From: acolyer Date: Mon, 15 Mar 2004 19:54:05 +0000 (+0000) Subject: guess who used a 1.4 only API then..... X-Git-Tag: Root_ajdt_support~125 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1f7d28f480f7f8c5e0316688a4f95abb62e7b747;p=aspectj.git guess who used a 1.4 only API then..... --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java index ab3cebdb2..d679d12b9 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java @@ -107,8 +107,7 @@ public class AjCompilerAdapter implements ICompilerAdapter { weave(); // notification happens as weave progresses... } } catch (IOException ex) { - AbortCompilation ac = new AbortCompilation(); - ac.initCause(ex); + AbortCompilation ac = new AbortCompilation(null,ex); throw ac; } } @@ -148,8 +147,7 @@ public class AjCompilerAdapter implements ICompilerAdapter { try { weave(); } catch (IOException ex) { - AbortCompilation ac = new AbortCompilation(); - ac.initCause(ex); + AbortCompilation ac = new AbortCompilation(null,ex); throw ac; } }