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
15 * Core exception is thrown, it contain a status object describing
16 * the cause of the exception. The status objects originating from the
17 * Java UI plug-in use the codes defined in this interface.
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
28 * storing or loading templates.
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 been
42 public static final int CHANGE_ABORTED= 10004;
45 * Status constant indicating that an exception occurred while
46 * parsing template file.
48 public static final int TEMPLATE_PARSE_EXCEPTION = 10005;