You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2014/04/30 22:07:14 UTC

[jira] [Updated] (OAK-1787) RepositoryException thrown instead of InvalidItemStateException

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

Alex Parvulescu updated OAK-1787:
---------------------------------

    Attachment: OAK-1787.patch

proposed patch

> RepositoryException thrown instead of InvalidItemStateException
> ---------------------------------------------------------------
>
>                 Key: OAK-1787
>                 URL: https://issues.apache.org/jira/browse/OAK-1787
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Alex Parvulescu
>         Attachments: OAK-1787.patch
>
>
> Code building on top of Oak expects an IllegalItemStateException when two sessions create or modify a given node in conflicting ways. This allows the code on top to handle this situation appropriately.
> However, in certain circumstances, a general RepositoryException is being thrown instead.



--
This message was sent by Atlassian JIRA
(v6.2#6252)