Package de.espirit.firstspirit.common
Class MaximumNumberOfSessionsExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.espirit.common.CheckedException
de.espirit.firstspirit.common.MaximumNumberOfSessionsExceededException
- All Implemented Interfaces:
de.espirit.common.LocalizableError
,Serializable
Exception thrown if a session creation is not possible because the maximum count of licensed sessions is reached.
- Since:
- 2.3
- See Also:
-
Constructor Summary
ConstructorDescriptionMaximumNumberOfSessionsExceededException
(int maxSessions) Exception thrown if a session creation is not possible because the maximum count of licensed sessions is reached. -
Method Summary
Methods inherited from class de.espirit.common.CheckedException
getContext, getErrorCode, getLocalizedMessage, setErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.espirit.common.LocalizableError
isInfoOnly
-
Constructor Details
-
MaximumNumberOfSessionsExceededException
public MaximumNumberOfSessionsExceededException(int maxSessions) Exception thrown if a session creation is not possible because the maximum count of licensed sessions is reached.- Parameters:
maxSessions
- The count of the maximum licensed sessions.- Since:
- 2.3
-
-
Method Details
-
getMaxSessions
public int getMaxSessions()Get maximum licensed session count.- Returns:
- Count of maximum licensed sessions.
- Since:
- 2.3
-