public static IWorkbenchPage getWorkbenchPage() {
		IWorkbench workbench = PlatformUI.getWorkbench();
		IWorkbenchWindow workbenchWindow = getWorkbenchWindow(workbench);
		if (workbenchWindow == null) {
			error("Couldn't get workbench window");
			return null;
		}
		IWorkbenchPage wbp = getPage(workbenchWindow);
		if (wbp == null) {
			error("Couldn't get workbench page");
			return null;
		}
		return wbp;
	}
Logs an error message with the responsible error included.

@param message The message to display.
@param t The responsible throwable.
GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/src/main/java/ghidradev/EclipseMessageUtils.java