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

openmrs / openmrs-core / 8583110103

06 Apr 2024 06:40PM CUT coverage: 64.691%. Remained the same
8583110103

push

github

web-flow
maven(deps): bump org.apache.maven.plugins:maven-source-plugin (#4612)

Bumps [org.apache.maven.plugins:maven-source-plugin](https://github.com/apache/maven-source-plugin) from 3.3.0 to 3.3.1.
- [Commits](https://github.com/apache/maven-source-plugin/compare/maven-source-plugin-3.3.0...maven-source-plugin-3.3.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-source-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

22762 of 35186 relevant lines covered (64.69%)

0.65 hits per line

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

0.0
/api/src/main/java/org/openmrs/api/UnchangeablePropertyException.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.api;
11

12
/**
13
 * An instance of this exception is thrown if an attempt is made to update an unchangeable property
14
 * on an object
15
 *
16
 * @since 2.1
17
 */
18
public class UnchangeablePropertyException extends APIException {
19
        
20
        public UnchangeablePropertyException(String message) {
21
                super(message);
×
22
        }
×
23
        
24
        public UnchangeablePropertyException(String message, Throwable cause) {
25
                super(message, cause);
×
26
        }
×
27
        
28
        public UnchangeablePropertyException(String messageKey, Object[] parameters) {
29
                super(messageKey, parameters);
×
30
        }
×
31
        
32
        /**
33
         * @param clazz the class of the object on which it was changed
34
         * @param property the name of the unchangeable property
35
         */
36
        public UnchangeablePropertyException(Class clazz, String property) {
37
                this(clazz.getName() + "." + property + " cannot be changed");
×
38
        }
×
39
}
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

© 2025 Coveralls, Inc