1 /*******************************************************************************
2 * Copyright (c) 2000, 2003 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11 package net.sourceforge.phpdt.internal.ui;
14 * Defines status codes relevant to the Java UI plug-in. When a Core exception
15 * is thrown, it contain a status object describing the cause of the exception.
16 * The status objects originating from the Java UI plug-in use the codes defined
19 public interface IJavaStatusConstants {
21 // Java UI status constants start at 10000 to make sure that we don't
22 // collide with resource and java model constants.
24 public static final int INTERNAL_ERROR = 10001;
27 * Status constant indicating that an exception occurred on storing or
30 public static final int TEMPLATE_IO_EXCEPTION = 10002;
33 * Status constant indicating that an validateEdit call has changed the
34 * content of a file on disk.
36 public static final int VALIDATE_EDIT_CHANGED_CONTENT = 10003;
39 * Status constant indicating that a <tt>ChangeAbortException</tt> has
42 public static final int CHANGE_ABORTED = 10004;
45 * Status constant indicating that an exception occurred while parsing
48 public static final int TEMPLATE_PARSE_EXCEPTION = 10005;