Skip to content

Package: OpenIDJwtException

OpenIDJwtException

nameinstructionbranchcomplexitylinemethod
OpenIDJwtException(KapuaErrorCode)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
OpenIDJwtException(KapuaErrorCode, Throwable, Object[])
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.jwt;
14:
15: import org.eclipse.kapua.KapuaErrorCode;
16: import org.eclipse.kapua.plugin.sso.openid.exception.OpenIDException;
17:
18: /**
19: * @since 1.2.0
20: */
21: public abstract class OpenIDJwtException extends OpenIDException {
22:
23: /**
24: * Constructor.
25: *
26: * @param code The {@link KapuaErrorCode} associated with the {@link Exception}
27: * @since 1.2.0
28: */
29: public OpenIDJwtException(KapuaErrorCode code) {
30: super(code);
31: }
32:
33: /**
34: * Builds a new KapuaException instance based on the supplied KapuaErrorCode,
35: * an Throwable cause, and optional arguments for the associated exception message.
36: *
37: * @param code The {@link KapuaErrorCode} associated with the {@link Exception}.
38: * @param cause The original {@link Throwable}.
39: * @param arguments The arguments associated with the {@link Exception}.
40: * @since 1.2.0
41: */
42: public OpenIDJwtException(KapuaErrorCode code, Throwable cause, Object... arguments) {
43: super(code, cause, arguments);
44: }
45: }