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: public interface ProblemSeverities {
13:
14: final int Ignore = -1; // during handling only
15: final int Warning = 0; // during handling only
16:
17: final int Error = 1; // when bit is set: problem is error, if not it is a warning
18: final int AbortCompilation = 2;
19: final int AbortCompilationUnit = 4;
20: final int AbortType = 8;
21: final int AbortMethod = 16;
22: final int Abort = 30; // 2r11110
23: final int Optional = 32; // when bit is set: problem was configurable
24: final int SecondaryError = 64;
25: final int Fatal = 128; // when bit is set: problem was either a mandatory error, or an optional+treatOptionalErrorAsFatal
26: }
|