1 11 package org.eclipse.ui; 12 13 import org.eclipse.core.runtime.CoreException; 14 import org.eclipse.core.runtime.IStatus; 15 import org.eclipse.core.runtime.Status; 16 17 24 public class WorkbenchException extends CoreException { 25 26 30 private static final long serialVersionUID = 3258125864872129078L; 31 32 37 public WorkbenchException(String message) { 38 this(new Status(IStatus.ERROR, PlatformUI.PLUGIN_ID, 0, message, null)); 39 } 40 41 47 public WorkbenchException(String message, Throwable nestedException) { 48 this(new Status(IStatus.ERROR, PlatformUI.PLUGIN_ID, 0, message, 49 nestedException)); 50 } 51 52 58 public WorkbenchException(IStatus status) { 59 super(status); 60 } 61 } 62 | Popular Tags |