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

OrderService.discontinueOrder throws Exception

    XMLWordPrintable

Details

    Description

      Generic Exception thrown by OrderService.discontinueOrder

      The throws clause should be removed.

      Sonar reports this as major:
      https://ci.openmrs.org/sonar/drilldown/issues/1865?&rule=squid%3AS00112&rule_sev=MAJOR&severity=MAJOR

      checkstyle.xml configuration does not catch this case though
      https://github.com/openmrs/openmrs-core/blob/2.0.x/tools/src/main/resources/checkstyle/openmrs-checkstyle.xml#L211-L215

      so maybe checkstyle config should also be adjusted.

      see discussion:
      https://talk.openmrs.org/t/why-does-orderservice-discontinueorder-throws-exception/7446

      Gliffy Diagrams

        Attachments

          Activity

            People

              micherman Michal Slawinski
              teleivo Ivo Ulrich
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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