throw new SessionNotInitializedException(e.getMessage(), e);
}
creationTime = System.currentTimeMillis();
lastCommandTime = System.currentTimeMillis();
monitors.add(new MaxTimeBetween2CommandsMonitor(this));
monitors.add(new SessionTimeoutMonitor(this));
monitors.add(new ApplicationCrashMonitor(this));
for (ServerSideSessionMonitor monitor : monitors) {
monitor.startMonitoring();