FrameworkLog log = Activator.getFrameworkLog(); if (log == null) { if (e instanceof RuntimeException) throw (RuntimeException) e; if (e instanceof Error) throw (Error) e; throw new RuntimeException(e.getMessage()); } log.log(new FrameworkLogEntry(Activator.PI_APP, FrameworkLogEntry.ERROR, 0, e.getMessage(), 0, e, null));
Activator.log(new FrameworkLogEntry(Activator.PI_APP, FrameworkLogEntry.ERROR, 0, e.getMessage(), 0, e, null));
	public void run() {		try {			// pasing null will cause EclipseAppHandle to get the correct arguments			appHandle.run(null);		} catch (Throwable e) {			FrameworkLog log = Activator.getFrameworkLog();			if (log == null) {				if (e instanceof RuntimeException)					throw (RuntimeException) e;				if (e instanceof Error)					throw (Error) e;				throw new RuntimeException(e.getMessage());			}			log.log(new FrameworkLogEntry(Activator.PI_APP, FrameworkLogEntry.ERROR, 0, e.getMessage(), 0, e, null));		}	}