jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3628) Embed cause in org.apache.jackrabbit.core.SessionImpl#getNodeByIdentifier while rethrowing IllegalArgumentException
Date Thu, 25 Jul 2013 10:51:48 GMT

    [ https://issues.apache.org/jira/browse/JCR-3628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719488#comment-13719488
] 

Chetan Mehrotra commented on JCR-3628:
--------------------------------------

Fixed in trunk with revision 1506877
                
> Embed cause in org.apache.jackrabbit.core.SessionImpl#getNodeByIdentifier while rethrowing
IllegalArgumentException
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-3628
>                 URL: https://issues.apache.org/jira/browse/JCR-3628
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>    Affects Versions: 2.5.3
>            Reporter: Abhinav Atul
>
> This is needed for reasonable exception handling. The below is the changelist(org.apache.jackrabbit.core.SessionImpl#getNodeByIdentifier
):
>          } catch (IllegalArgumentException iae) {
> -            throw new RepositoryException("invalid identifier: " + id);
> +            throw new RepositoryException("invalid identifier: " + id,iae);
>          }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message