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

Rule: Redundant throws

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: Rules
    • Labels:
      None

      Description

      Checks for:

      • Duplication throws (i.e. declare twice the same exception)
      • Declare a throw that is RuntimeException or a subclass of it (no need to declare them)
      • Declare a throw that is a subclass of another declared throw (there is no need to declare the sub one)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dinesh.bolkensteyn Dinesh Bolkensteyn (Inactive)
              Reporter:
              dinesh.bolkensteyn Dinesh Bolkensteyn (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: