Package org.apache.sling.api.request
Class TooManyCallsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.sling.api.SlingException
org.apache.sling.api.request.TooManyCallsException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorDescriptionTooManyCallsException
(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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TooManyCallsException
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.
-