[ 
https://issues.apache.org/jira/browse/SLING-1916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved SLING-1916.
-------------------------------------
    Resolution: Won't Fix

> Json renderer servlet should use a new RecursionTooDeepException.getLevel() 
> instead of parsing the message
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-1916
>                 URL: https://issues.apache.org/jira/browse/SLING-1916
>             Project: Sling
>          Issue Type: Improvement
>          Components: Servlets
>    Affects Versions: Servlets Get 2.1.0
>            Reporter: Alexander Klimetschek
>            Priority: Minor
>
> The JsonRendererServlet together with the ResourceTraversor use the 
> RecursionTooDeepException in a wrong way: it sets the depth were it stopped 
> as exception message, whereas the message is clearly defined to be the 
> affected resource path instead by the javadocs. Also it leads to a 
> unnecessary int to string conversion plus string to int parsing.
> If there already is a very specific exception class, why not simply add the 
> level as a member to the exception?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to