first version of 'Code Assist" template engine
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / JavaStatusConstants.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/JavaStatusConstants.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/JavaStatusConstants.java
new file mode 100644 (file)
index 0000000..338afd6
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * (c) Copyright IBM Corp. 2000, 2001.
+ * All Rights Reserved.
+ */
+package net.sourceforge.phpdt.internal.ui;
+
+/**
+ * Defines status codes relevant to the Java UI plug-in. When a 
+ * Core exception is thrown, it contain a status object describing
+ * the cause of the exception. The status objects originating from the
+ * Java UI plug-in use the codes defined in this interface.
+  */
+public class JavaStatusConstants {
+       
+       // Prevent instantiation
+       private JavaStatusConstants() {
+       }
+
+       /** Status code describing an internal error */
+       public static final int INTERNAL_ERROR= 1;
+       
+       /**
+        * Status constant indicating that an exception occured on
+        * storing or loading templates.
+        */
+       public static final int TEMPLATE_IO_EXCEPTION = 2;
+       
+}