Skip to content

Package: InputProviderException

InputProviderException

nameinstructionbranchcomplexitylinemethod
InputProviderException(String)
M: 0 C: 4
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
InputProviderException(String, Throwable)
M: 0 C: 5
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%

Coverage

1: /*
2: * Copyright © 2020-2023 Fachhochschule für die Wirtschaft (FHDW) Hannover
3: *
4: * This file is part of gaming-core.
5: *
6: * Gaming-core is free software: you can redistribute it and/or modify it under
7: * the terms of the GNU General Public License as published by the Free Software
8: * Foundation, either version 3 of the License, or (at your option) any later
9: * version.
10: *
11: * Gaming-core is distributed in the hope that it will be useful, but WITHOUT
12: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13: * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14: * details.
15: *
16: * You should have received a copy of the GNU General Public License along with
17: * gaming-core. If not, see <http://www.gnu.org/licenses/>.
18: */
19: package de.fhdw.gaming.core.ui;
20:
21: /**
22: * Encapsulates an exception thrown by an input provider.
23: */
24: public class InputProviderException extends Exception {
25:
26: private static final long serialVersionUID = 5316303836640307344L;
27:
28: /**
29: * Creates an {@link InputProviderException} with a message.
30: *
31: * @param message The exception message.
32: */
33: public InputProviderException(final String message) {
34: super(message);
35: }
36:
37: /**
38: * Creates an {@link InputProviderException} with a message and a cause.
39: *
40: * @param message The exception message.
41: * @param cause The {@link Throwable cause}.
42: */
43: public InputProviderException(final String message, final Throwable cause) {
44: super(message, cause);
45: }
46: }