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

Remove unnecessary throws Exception from various classes

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0, 1.1, 2.0, 2.0.1
    • Fix Version/s: 2.0
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: