Uploaded image for project: 'SonarJava'
  1. SonarJava
  2. SONARJAVA-3559

Do not report issues of S1130 on Runtime Exceptions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.10
    • Component/s: Rules
    • Labels:

      Description

      Implementation of RSPEC-1130 should not raise issues anymore on RuntimeExceptions, as the java language itself stated that relying only on checked exceptions was a bad design decision.

      Therefore, explicitly mentioning what kind of runtime exception could be thrown can be considered as a good practice.

      Note that the description of the rule should be modified accordingly. [updated]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.gumowski Michael Gumowski
              Reporter:
              michael.gumowski Michael Gumowski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: