Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-33

Remove unnecessary throws Exception from various classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0, 1.1, 2.0, 2.0.1
    • 2.0
    • None

    Description

      Many classes use throw new Exception("") even though there is no presumption that this checked exception is to be caught and dealt with.

      These should either be RuntimeExceptions or an appropriate subclass, eg IllegalArgumentException, NumberFormatException etc

      Attachments

        Activity

          People

            Unassigned Unassigned
            diongillard dion gillard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: