• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openmrs / openmrs-module-webservices.rest / 17263834497

27 Aug 2025 10:12AM UTC coverage: 68.44% (-1.5%) from 69.946%
17263834497

push

github

web-flow
RESTWS-988: Update to OpenMRS Platform 2.7.x and Support Java 21 (#670)

* Update to Platform 2.7.x

* Merge 2.5 and 2.7

* Merge 2.4 and 2.7

* Merge omod and omod-2.7

* Update ChangePasswordController1_8

* Move InitPathMatcher2_4 to the correct package

* Address review comments

* Add the licence header

* Revert AnimalResource_1_11

* Update tests

* Update tests

* Update AnimalClassResourceLegacy

* Remove setCurrentOpenMRSVersion method

* Revert formatting changes

* Revert formatting changes

* Revert formatting changes

* Merge omod and commons

* Revert "Merge omod and commons"

This reverts commit c68ef20d3.

* Move RestServiceImplTest to omod

* Remove AnimalClassResourceLegacy.java

* fix doSearch_shouldProcessIncludeAll

* update doSearch_shouldProcessIncludeAll

* update doSearch_shouldProcessIncludeAll

* Use hamcrest in ProviderController2_0Test

10 of 15 new or added lines in 5 files covered. (66.67%)

239 existing lines in 7 files now uncovered.

9572 of 13986 relevant lines covered (68.44%)

0.68 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/omod-common/src/main/java/org/openmrs/module/webservices/rest/web/response/ResponseException.java
1
/**
2
 * This Source Code Form is subject to the terms of the Mozilla Public License,
3
 * v. 2.0. If a copy of the MPL was not distributed with this file, You can
4
 * obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
5
 * the terms of the Healthcare Disclaimer located at http://openmrs.org/license.
6
 *
7
 * Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
8
 * graphic logo is a trademark of OpenMRS Inc.
9
 */
10
package org.openmrs.module.webservices.rest.web.response;
11

12
/**
13
 * This is a marker class for all response exceptions. Controllers should throw these if an error
14
 * has occurred or a status needs to be shown to a user
15
 */
16
public abstract class ResponseException extends RuntimeException {
17
        
18
        private static final long serialVersionUID = 1L;
19
        
20
        public ResponseException() {
21
                super();
×
22
        }
×
23
        
24
        /**
25
         * @param message
26
         * @param cause
27
         */
28
        public ResponseException(String message, Throwable cause) {
29
                super(message, cause);
×
30
        }
×
31
        
32
        /**
33
         * @param message
34
         */
35
        public ResponseException(String message) {
UNCOV
36
                super(message);
×
UNCOV
37
        }
×
38
        
39
        /**
40
         * @param cause
41
         */
42
        public ResponseException(Throwable cause) {
43
                super(cause);
×
44
        }
×
45
        
46
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc