jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@adobe.com>
Subject Exception handling in oak-core
Date Thu, 26 Apr 2012 15:22:29 GMT
hi all

i would like to start the discussion again regarding
exception handling in oak-core and the api.

the current situation is as follows:
- runtimeException every here and there
- invalidArgumentException
- unspecific commitFailedExceptions

now that we have quite some JCR functionality present
those exceptions are pretty cumbersome and result in a
lot of test-case failure.

my preference was to just throw the jcr-exceptions where
ever this was appropriate and unambiguous. for example
namespaceexception, versionexception, constraintviolation...

kind regards

View raw message