| Subject: | Exceptions used in oak-core | |
|---|---|---|
| From: | Angela Schreiber (anch...@adobe.com) | |
| Date: | Mar 22, 2012 2:48:13 am | |
| List: | org.apache.jackrabbit.oak-dev | |
Refine Search
| From | Sent On | Attachments |
|---|---|---|
| Angela Schreiber | Mar 22, 2012 2:48 am | |
| Michael Dürig | Mar 22, 2012 3:04 am | |
| Julian Reschke | Mar 22, 2012 3:53 am | |
| Michael Dürig | Mar 22, 2012 4:17 am | |
| Jukka Zitting | Mar 22, 2012 4:20 am | |
| Michael Dürig | Mar 22, 2012 4:35 am | |
| Thomas Mueller | Mar 22, 2012 5:49 am | |
| Thomas Mueller | Mar 22, 2012 5:56 am | |
| Thomas Mueller | Mar 22, 2012 6:03 am | |
| Julian Reschke | Mar 22, 2012 6:12 am | |
| Michael Dürig | Mar 22, 2012 6:25 am | |
| Angela Schreiber | Mar 27, 2012 6:07 am |
| Subject: | Exceptions used in oak-core | |
|---|---|---|
| From: | Angela Schreiber (anch...@adobe.com) | |
| Date: | Mar 22, 2012 2:48:13 am | |
| List: | org.apache.jackrabbit.oak-dev | |
hi
i would like to discuss the nature of exceptions that will be thrown from the oak-api/spi module.
to illustrate: we decided that quite some core functionality of the JCR API will effectively be executed and validated on the oak-core-layer such as for example authentication, authorization or the complete versioning API. these validation needs to comply to the API contract defined by JSR 283/333, which define comprehensive lists of reasons for failure and the corresponding exceptions.
what was your preference when it comes to those exceptions? should oak-core define it own set of exceptions that then would need to be converted to javax.jcr.*Exception in oak-jcr or should oak-core throw JCR exceptions?
regards angela

