01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.internal.compiler.problem;
11:
12: import org.eclipse.jdt.core.compiler.CategorizedProblem;
13: import org.eclipse.jdt.internal.compiler.CompilationResult;
14:
15: /*
16: * Special unchecked exception type used
17: * to abort from the compilation process
18: *
19: * should only be thrown from within problem handlers.
20: */
21: public class AbortMethod extends AbortType {
22:
23: private static final long serialVersionUID = -1480267398969840003L; // backward compatible
24:
25: public AbortMethod(CompilationResult compilationResult,
26: CategorizedProblem problem) {
27: super(compilationResult, problem);
28: }
29: }
|