jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-189) Swallowed exceptions
Date Mon, 16 Jul 2012 14:46:35 GMT
Thomas Mueller created OAK-189:
----------------------------------

             Summary: Swallowed exceptions
                 Key: OAK-189
                 URL: https://issues.apache.org/jira/browse/OAK-189
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: jcr
            Reporter: Thomas Mueller


Exceptions should not be silently swallowed. This is currently done in SessionDelegate$SessionNameMapper,
methods getOakPrefix(), getOakPrefixFromURI(), and getJcrPrefix(). Those methods catch RepositoryException,
don't log by default (only when using debug level), and don't log the exception stack trace
or throw an exception.

Catching a very wide band of exceptions (RepositoryException) and then simply returning null
is not an acceptable solution in my view.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message