org.apache.sling.api.request
Class TooManyCallsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.sling.api.SlingException
                  extended by org.apache.sling.api.request.TooManyCallsException
All Implemented Interfaces:
java.io.Serializable

public class TooManyCallsException
extends SlingException

The TooManyCallsException is thrown by the Sling implementation if to many inclusions have been called for during a single request. The limit of inclusions is implementation dependent.

See Also:
Serialized Form

Constructor Summary
TooManyCallsException(java.lang.String servletName)
          Creates an instance of this exception naming the Servlet (or Script) whose call caused this exception to be thrown.
 
Method Summary
 
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

TooManyCallsException

public TooManyCallsException(java.lang.String servletName)
Creates an instance of this exception naming the Servlet (or Script) whose call caused this exception to be thrown.

The servlet name is the actual message of the exception.

Parameters:
servletName - The name of the Servlet (or Script) causing this exception.


Copyright © 2007-2009. All Rights Reserved.