Package org.aspectj.org.eclipse.jdt.internal.compiler.problem

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.problem.AbortCompilation


        notifyRequestor();
      } else {
        weave()// notification happens as weave progresses...
      }
    } catch (IOException ex) {
      AbortCompilation ac = new AbortCompilation(null,ex);
      throw ac;
    } catch (RuntimeException rEx) {
      if (rEx instanceof AbortCompilation) throw rEx; // Don't wrap AbortCompilation exceptions!

      // This will be unwrapped in Compiler.handleInternalException() and the nested
      // RuntimeException thrown back to the original caller - which is AspectJ
      // which will then then log it as a compiler problem.
      throw new AbortCompilation(true,rEx);
    }
  }
View Full Code Here


        fromPercent
        +((progressCompletionCount/(double)progressMaxTypes)*(toPercent-fromPercent)),
        progressPhasePrefix+result.getClassName()+" (from "+nowProcessing.fileName()+")");

      if (progressListener.isCancelledRequested()) {
          throw new AbortCompilation(true,new OperationCanceledException("Weaving cancelled as requested"));
      }
    }
  }
View Full Code Here

          progressListener.setText("compiled: " + result.fileName());
        }
        state.noteResult(result);
       
        if (progressListener!=null && progressListener.isCancelledRequested()) {
          throw new AbortCompilation(true,
            new OperationCanceledException("Compilation cancelled as requested"));
        }
      }
    };
  }
View Full Code Here

TOP

Related Classes of org.aspectj.org.eclipse.jdt.internal.compiler.problem.AbortCompilation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.