public class TooManyActiveSessionsException extends IllegalStateException
构造器和说明 |
---|
TooManyActiveSessionsException(String message,
int maxActive)
Creates a new TooManyActiveSessionsException.
|
限定符和类型 | 方法和说明 |
---|---|
int |
getMaxActiveSessions()
Gets the maximum number of sessions allowed by the session manager.
|
public TooManyActiveSessionsException(String message, int maxActive)
message
- A description for the exception.maxActive
- The maximum number of active sessions allowed by the
session manager.Copyright © 2024. All rights reserved.