throw new SessionNotCreatedException("The server cannot run " + cap + " at the moment." + e.getMessage());
} catch (InstrumentsFailedToStartException|RecoverableCrashException e) {
log.warning("Instruments failed to start in the allocated time ( " + timeOut + "sec):" + e
.getMessage());
if (session != null) {
session.stop();
}
} catch (Exception e) {
log.warning("Error starting the session." + e.getMessage());
if (session != null) {
session.stop();