You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@onami.apache.org by "Mikhail Mazursky (JIRA)" <ji...@apache.org> on 2013/02/25 15:26:12 UTC

[jira] [Created] (ONAMI-88) Consistent policy for exception handling

Mikhail Mazursky created ONAMI-88:
-------------------------------------

             Summary: Consistent policy for exception handling
                 Key: ONAMI-88
                 URL: https://issues.apache.org/jira/browse/ONAMI-88
             Project: Apache Onami
          Issue Type: Improvement
          Components: configuration
    Affects Versions: configuration-6.3.0
            Reporter: Mikhail Mazursky
            Priority: Minor


No consistent policy for exception handling - for example SQLTimestampConverter catches Throwable and rethrows it as ProvisionException but CharsetConverter do not catch anything at all. Should we catch at all or Guice handles this itself?

I guess we should rethrow only checked exceptions. Also no need to catch Errors in such places in any case (catch Exception vs Throwable).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira