Uploaded image for project: 'Apache Onami'
  1. Apache Onami
  2. ONAMI-88

Consistent policy for exception handling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • configuration-6.3.0
    • configuration-6.3.0
    • configuration
    • None

    Description

      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).

      Attachments

        Activity

          People

            ash2k Mikhail Mazursky
            ash2k Mikhail Mazursky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: