Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4310

[Code Quality] Throwable and Error classes should not be caught

    Details

    • Type: Task
    • Status: Closed
    • Priority: Could
    • Resolution: Duplicate
    • Affects Version/s: Platform 1.11.0
    • Fix Version/s: None
    • Component/s: Checkstyle
    • Complexity:
      Low

      Description

      The following classes have the code that involves catch block with the Throwable, it should be replaced with the Exception:

      org.openmrs.scheduler.timer.TimerSchedulerTask
      org.openmrs.util.OpenmrsClassLoader
      org.openmrs.web.Listener
      org.openmrs.web.OpenmrsJspServlet
      org.openmrs.web.filter.update.UpdateFilter

      10 Blocker level warning on Sonor. (See Attachment for Reference)

        Gliffy Diagrams

          Attachments

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  jbuczynski Jakub BuczyƄski
                  Reporter:
                  ergaurav2 Gaurav Agrawal
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 4 hours
                    4h
                    Remaining:
                    Remaining Estimate - 4 hours
                    4h
                    Logged:
                    Time Spent - Not Specified
                    Not Specified