org.eclipse.jdt.internal.compiler.problem.ProblemSeverities Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2000, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.compiler.problem;
public interface ProblemSeverities {
final int Ignore = -1; // during handling only
final int Warning = 0; // during handling only
final int Error = 1; // when bit is set: problem is error, if not it is a warning
final int AbortCompilation = 2;
final int AbortCompilationUnit = 4;
final int AbortType = 8;
final int AbortMethod = 16;
final int Abort = 30; // 2r11110
final int Optional = 32; // when bit is set: problem was configurable
final int SecondaryError = 64;
final int Fatal = 128; // when bit is set: problem was either a mandatory error, or an optional+treatOptionalErrorAsFatal
}