merged src/java and src/rsc
[org.ibex.tool.git] / src / org / eclipse / jdt / internal / compiler / problem / ProblemSeverities.java
diff --git a/src/org/eclipse/jdt/internal/compiler/problem/ProblemSeverities.java b/src/org/eclipse/jdt/internal/compiler/problem/ProblemSeverities.java
new file mode 100644 (file)
index 0000000..d2cf193
--- /dev/null
@@ -0,0 +1,25 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials 
+ * are made available under the terms of the Common Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/cpl-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 SecondaryError = 64;
+}