public void run() {
try {
AsynchronousService.this.start();
context.complete();
} catch (Exception e) {
context.failed(new StartException(e));
}
}
};
context.asynchronous();
this.executor.execute(task);
} else {
try {
this.start();
} catch (Exception e) {
throw new StartException(e);
}
}
}