Class TooManyActiveSessionsException

All Implemented Interfaces:
Serializable

public class TooManyActiveSessionsException extends IllegalStateException
An exception that indicates the maximum number of active sessions has been reached and the server is refusing to create any new sessions.
See Also:
  • Constructor Details

    • TooManyActiveSessionsException

      public TooManyActiveSessionsException(String message, int maxActive)
      Creates a new TooManyActiveSessionsException.
      Parameters:
      message - A description for the exception.
      maxActive - The maximum number of active sessions allowed by the session manager.
  • Method Details

    • getMaxActiveSessions

      public int getMaxActiveSessions()
      Gets the maximum number of sessions allowed by the session manager.
      Returns:
      The maximum number of sessions allowed by the session manager.