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

public class MaximumNumberOfSessionsExceededException extends CheckedException
Exception thrown if a session creation is not possible because the maximum count of licensed sessions is reached.
Since:
2.3
See Also:
  • 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