2 * (c) Copyright IBM Corp. 2000, 2001.
5 package net.sourceforge.phpdt.internal.ui;
7 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
8 import org.eclipse.core.runtime.IStatus;
9 import org.eclipse.core.runtime.Status;
12 * Convenience class for error exceptions thrown inside PHPUI plugin.
14 public class PHPUIStatus extends Status {
16 public PHPUIStatus(int code, String message, Throwable throwable) {
17 super(IStatus.ERROR, PHPeclipsePlugin.getPluginId(), code, message, throwable);
20 public PHPUIStatus(int code, String message) {
21 this(code, message, null);
24 public PHPUIStatus(int code) {
25 this(code, ""); //$NON-NLS-1$