Apache Tomcat 6.0.53

Class TooManyActiveSessionsException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalStateException
                  extended by org.apache.catalina.session.TooManyActiveSessionsException
All Implemented Interfaces:

public class TooManyActiveSessionsException
extends java.lang.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:
Serialized Form

Constructor Summary
TooManyActiveSessionsException(java.lang.String message, int maxActive)
          Creates a new TooManyActiveSessionsException.
Method Summary
 int getMaxActiveSessions()
          Gets the maximum number of sessions allowed by the session manager.
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public TooManyActiveSessionsException(java.lang.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.
Method Detail


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

The maximum number of sessions allowed by the session manager.

Apache Tomcat 6.0.53

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.