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;
11:
12: /*
13: * Handler policy is responsible to answer the 2 following
14: * questions:
15: * 1. should the handler stop on first problem which appears
16: * to be a real error (that is, not a warning),
17: * 2. should it proceed once it has gathered all problems
18: *
19: * The intent is that one can supply its own policy to implement
20: * some interactive error handling strategy where some UI would
21: * display problems and ask user if he wants to proceed or not.
22: */
23:
24: public interface IErrorHandlingPolicy {
25: boolean proceedOnErrors();
26:
27: boolean stopOnFirstError();
28: }
|