Package org.apache.catalina.session
Class TooManyActiveSessionsException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- java.lang.IllegalStateException
- 
- org.apache.catalina.session.TooManyActiveSessionsException
 
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class TooManyActiveSessionsException extends java.lang.IllegalStateExceptionAn exception that indicates the maximum number of active sessions has been reached and the server is refusing to create any new sessions.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description TooManyActiveSessionsException(java.lang.String message, int maxActive)Creates a new TooManyActiveSessionsException.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaxActiveSessions()Gets the maximum number of sessions allowed by the session manager.
 
- 
- 
- 
Constructor Detail- 
TooManyActiveSessionsExceptionpublic TooManyActiveSessionsException(java.lang.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.
 
 
- 
 
-