List of usage examples for org.eclipse.jdt.internal.compiler.problem AbortType AbortType
public AbortType(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:/* w w w . ja v a 2 s. com*/ throw new AbortMethod(this.compilationResult, problem); } }