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:
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
-
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
-