public SessionLimitException(int limit, Throwable cause) { this(limit); initCause(cause); }
private void checkSessionLimit() throws SessionLimitException { if (maxSessions >= 0 && sessionsByID.size() >= maxSessions) throw new SessionLimitException( maxSessions, "Cannot create new session. Limit of " + maxSessions + " already raeached."); }
private void checkSessionLimit() throws SessionLimitException { if (maxSessions >= 0 && sessionsByID.size() >= maxSessions) throw new SessionLimitException( maxSessions, "Cannot create new session. Limit of " + maxSessions + " already raeached."); }
public SessionLimitException(int limit, Throwable cause) { this(limit); initCause(cause); }