- added include declarations to Outline view
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / problem / AbortCompilation.java
index bf960d0..f954e99 100644 (file)
@@ -1,13 +1,13 @@
 /*******************************************************************************
- * Copyright (c) 2000, 2001, 2002 International Business Machines Corp. and others.
+ * Copyright (c) 2000, 2003 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials 
- * are made available under the terms of the Common Public License v0.5 
+ * are made available under the terms of the Common Public License v1.0
  * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v05.html
+ * http://www.eclipse.org/legal/cpl-v10.html
  * 
  * Contributors:
  *     IBM Corporation - initial API and implementation
- ******************************************************************************/
+ *******************************************************************************/
 package net.sourceforge.phpdt.internal.compiler.problem;
 
 import net.sourceforge.phpdt.internal.compiler.CompilationResult;
@@ -19,32 +19,41 @@ import net.sourceforge.phpdt.internal.compiler.CompilationResult;
  * should only be thrown from within problem handlers.
  */
 public class AbortCompilation extends RuntimeException {
+
        public CompilationResult compilationResult;
        public Throwable exception;
-       
        public int problemId; 
-       public String[] problemArguments;
-
+       public String[] problemArguments, messageArguments;
        /* special fields used to abort silently (e.g. when cancelling build process) */
        public boolean isSilent;
        public RuntimeException silentException;
-public AbortCompilation() {
-       this((CompilationResult)null);
-}
-public AbortCompilation(int problemId, String[] problemArguments) {
 
-       this.problemId = problemId;
-       this.problemArguments = problemArguments;
-}
-public AbortCompilation(CompilationResult compilationResult) {
-       this(compilationResult, null);
-}
-public AbortCompilation(CompilationResult compilationResult, Throwable exception) {
-       this.compilationResult = compilationResult;
-       this.exception = exception;
-}
-public AbortCompilation(boolean isSilent, RuntimeException silentException) {
-       this.isSilent = isSilent;
-       this.silentException = silentException;
-}
+       public AbortCompilation() {
+
+               this((CompilationResult)null);
+       }
+
+       public AbortCompilation(int problemId, String[] problemArguments, String[] messageArguments) {
+       
+               this.problemId = problemId;
+               this.problemArguments = problemArguments;
+               this.messageArguments = messageArguments;
+       }
+
+       public AbortCompilation(CompilationResult compilationResult) {
+
+               this(compilationResult, null);
+       }
+
+       public AbortCompilation(CompilationResult compilationResult, Throwable exception) {
+
+               this.compilationResult = compilationResult;
+               this.exception = exception;
+       }
+
+       public AbortCompilation(boolean isSilent, RuntimeException silentException) {
+
+               this.isSilent = isSilent;
+               this.silentException = silentException;
+       }
 }