Skip to content

Package: ConfigurationException

ConfigurationException

nameinstructionbranchcomplexitylinemethod
ConfigurationException(String)
M: 5 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
ConfigurationException(String, Throwable)
M: 6 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2016, 2022 Eurotech and/or its affiliates and others
3: *
4: * This program and the accompanying materials are made
5: * available under the terms of the Eclipse Public License 2.0
6: * which is available at https://www.eclipse.org/legal/epl-2.0/
7: *
8: * SPDX-License-Identifier: EPL-2.0
9: *
10: * Contributors:
11: * Eurotech - initial API and implementation
12: *******************************************************************************/
13: package org.eclipse.kapua.service.datastore.internal.mediator;
14:
15: /**
16: * Invalid configuration exception.<br>
17: * This exception is raised if some configuration parameter is not valid
18: *
19: * @since 1.0
20: *
21: */
22: public class ConfigurationException extends DatastoreException {
23:
24: private static final long serialVersionUID = 5211237236391747299L;
25:
26: /**
27: * Construct the exception with the provided message
28: *
29: * @param message
30: */
31: public ConfigurationException(String message) {
32: super(DatastoreErrorCodes.CONFIGURATION_ERROR, message);
33: }
34:
35: /**
36: * Construct the exception with the provided message and throwable
37: *
38: * @param message
39: * @param t
40: */
41: public ConfigurationException(String message, Throwable t) {
42: super(DatastoreErrorCodes.CONFIGURATION_ERROR, t, message);
43: }
44:
45: }