jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCR-3628) Embed cause in org.apache.jackrabbit.core.SessionImpl#getNodeByIdentifier while rethrowing IllegalArgumentException
Date Mon, 09 Dec 2013 10:25:07 GMT

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

Marcel Reutegger updated JCR-3628:
----------------------------------

    Fix Version/s: 2.6.6

Merged into 2.6 branch http://svn.apache.org/r1549532

> 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
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 2.7.1, 2.6.6
>
>
> 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 was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message