KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > compiler > problem > ProblemSeverities


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.internal.compiler.problem;
12
13 public interface ProblemSeverities {
14     
15     final int Ignore = -1; // during handling only
16
final int Warning = 0; // during handling only
17

18     final int Error = 1; // when bit is set: problem is error, if not it is a warning
19
final int AbortCompilation = 2;
20     final int AbortCompilationUnit = 4;
21     final int AbortType = 8;
22     final int AbortMethod = 16;
23     final int Abort = 30; // 2r11110
24
final int Optional = 32; // when bit is set: problem was configurable
25
final int SecondaryError = 64;
26     final int Fatal = 128; // when bit is set: problem was either a mandatory error, or an optional+treatOptionalErrorAsFatal
27
}
28
Popular Tags