Prevent multiple wrapping of exceptions thrown in included requests
-------------------------------------------------------------------

                 Key: SLING-565
                 URL: https://issues.apache.org/jira/browse/SLING-565
             Project: Sling
          Issue Type: Improvement
          Components: Scripting
    Affects Versions: Scripting Core 2.0.2
            Reporter: Felix Meschberger


Currently if an exception occurrs while processing a script in an included 
request, the exception is wrapped. If the exception happens in a script 
included over multiple levels, the exception is wrapped multiple times.

Rather than re-wrapping these exceptions multiple times, wrappings should be 
replaced when forwarding wrapped exceptions.

One such exception wrapping takes place when recursively including the same 
resource such that a InfiniteIncludeLoopException is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to