]> source.dussan.org Git - aspectj.git/commitdiff
guess who used a 1.4 only API then.....
authoracolyer <acolyer>
Mon, 15 Mar 2004 19:54:05 +0000 (19:54 +0000)
committeracolyer <acolyer>
Mon, 15 Mar 2004 19:54:05 +0000 (19:54 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java

index ab3cebdb2b9001ce3a0642228990c61fd88b048f..d679d12b910f2ce704e89508e7de6db1f9f822c6 100644 (file)
@@ -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;
                        } 
                }