Class RecursionTooDeepException

  • All Implemented Interfaces:
    Serializable

    public class RecursionTooDeepException
    extends SlingException
    The RecursionTooDeepException is thrown by the Sling implementation if to many recursive content inclusions take place. The limit of recursive inclusions is implementation dependent.
    See Also:
    Serialized Form
    • Constructor Detail

      • RecursionTooDeepException

        public RecursionTooDeepException​(String resourcePath)
        Creates a new instance of this class reporting the exception occurred while trying to include the output for rendering the resource at the given path.

        The resource path is the actual message of the exception.

        Parameters:
        resourcePath - The path of the resource whose output inclusion causes this exception.