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