Class TooManyCallsException

  • All Implemented Interfaces:
    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 Detail

      • TooManyCallsException

        public TooManyCallsException​(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.