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

Marcel Reutegger commented on OAK-3635:
---------------------------------------

IllegalArgumentException sounds good to me. I would even mention this exception 
in the JavaDoc of the relevant methods in the DocumentStore API.

Why does the test catch IllegalStateException?

> DocumentStore: clarify which methods support checking conditions in 
> UpdateOps, and enforce this in implementations
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: OAK-3635
>                 URL: https://issues.apache.org/jira/browse/OAK-3635
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: documentmk, mongomk, rdbmk
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>         Attachments: OAK-3635.diff
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to