类 TooManyActiveSessionsException

所有已实现的接口:
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.
从以下版本开始:
4.0 2023/2/28 22:35
作者:
Harry Yang
另请参阅:
  • 字段详细资料

    • serialVersionUID

      private static final long serialVersionUID
      另请参阅:
    • maxActiveSessions

      private final int maxActiveSessions
      The maximum number of active sessions the server will tolerate.
  • 构造器详细资料

    • TooManyActiveSessionsException

      public TooManyActiveSessionsException(String message, int maxActive)
      Creates a new TooManyActiveSessionsException.
      参数:
      message - A description for the exception.
      maxActive - The maximum number of active sessions allowed by the session manager.
  • 方法详细资料

    • getMaxActiveSessions

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