List of usage examples for org.eclipse.jdt.internal.compiler.problem AbortMethod AbortMethod
public AbortMethod(CompilationResult compilationResult, CategorizedProblem problem)
From source file:org.eclipse.objectteams.otdt.internal.core.compiler.ast.AbstractMethodMappingDeclaration.java
License:Open Source License
public void abort(int abortLevel, CategorizedProblem problem) { switch (abortLevel) { case AbortCompilation: throw new AbortCompilation(this.compilationResult, problem); case AbortCompilationUnit: throw new AbortCompilationUnit(this.compilationResult, problem); case AbortType: throw new AbortType(this.compilationResult, problem); default://from w w w . j a v a 2 s .c om throw new AbortMethod(this.compilationResult, problem); } }