Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / problem / AbortCompilation.java
index f954e99..21f3757 100644 (file)
@@ -13,28 +13,41 @@ package net.sourceforge.phpdt.internal.compiler.problem;
 import net.sourceforge.phpdt.internal.compiler.CompilationResult;
 
 /*
- * Special unchecked exception type used 
- * to abort from the compilation process
- *
+ * Special unchecked exception type used to abort from the compilation process
+ * 
  * should only be thrown from within problem handlers.
  */
 public class AbortCompilation extends RuntimeException {
 
+       /**
+        * 
+        */
+       private static final long serialVersionUID = -3674083924553307963L;
+
        public CompilationResult compilationResult;
+
        public Throwable exception;
-       public int problemId; 
+
+       public int problemId;
+
        public String[] problemArguments, messageArguments;
-       /* special fields used to abort silently (e.g. when cancelling build process) */
+
+       /*
+        * special fields used to abort silently (e.g. when cancelling build
+        * process)
+        */
        public boolean isSilent;
+
        public RuntimeException silentException;
 
        public AbortCompilation() {
 
-               this((CompilationResult)null);
+               this((CompilationResult) null);
        }
 
-       public AbortCompilation(int problemId, String[] problemArguments, String[] messageArguments) {
-       
+       public AbortCompilation(int problemId, String[] problemArguments,
+                       String[] messageArguments) {
+
                this.problemId = problemId;
                this.problemArguments = problemArguments;
                this.messageArguments = messageArguments;
@@ -45,7 +58,8 @@ public class AbortCompilation extends RuntimeException {
                this(compilationResult, null);
        }
 
-       public AbortCompilation(CompilationResult compilationResult, Throwable exception) {
+       public AbortCompilation(CompilationResult compilationResult,
+                       Throwable exception) {
 
                this.compilationResult = compilationResult;
                this.exception = exception;