private void run() { Throwable exception = null; try { onStartup.handle(this); while (state == WorkerState.RUNNING) { cycle();
private void run() { Throwable exception = null; try { onStartup.handle(this); while (state == WorkerState.RUNNING) { cycle();