Skip to content

Package: OpenIDIllegalUriException

OpenIDIllegalUriException

nameinstructionbranchcomplexitylinemethod
OpenIDIllegalUriException(KapuaErrorCode, String, String)
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%
OpenIDIllegalUriException(String, String)
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) 2019, 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.plugin.sso.openid.exception.uri;
14:
15: import org.eclipse.kapua.KapuaErrorCode;
16: import org.eclipse.kapua.plugin.sso.openid.exception.OpenIDErrorCodes;
17: import org.eclipse.kapua.plugin.sso.openid.exception.OpenIDIllegalArgumentException;
18:
19: /**
20: * @since 1.2.0
21: */
22: public class OpenIDIllegalUriException extends OpenIDIllegalArgumentException {
23:
24: /**
25: * Constructor
26: *
27: * @param argName the name of the illegal URI
28: * @param argValue the value of the illegal URI
29: * @since 1.2.0
30: */
31: public OpenIDIllegalUriException(String argName, String argValue) {
32: this(OpenIDErrorCodes.ILLEGAL_URI, argName, argValue);
33: }
34:
35: /**
36: * Constructor
37: *
38: * @param code The {@link KapuaErrorCode} associated with the {@link Exception}.
39: * @param argName the name of the illegal URI
40: * @param argValue the value of the illegal URI
41: * @since 1.2.0
42: */
43: protected OpenIDIllegalUriException(KapuaErrorCode code, String argName, String argValue) {
44: super(code, argName, argValue);
45: }
46: }