]> git.basschouten.com Git - openhab-addons.git/blob
4089bd3d45eac7d0d97ae1fef91751025934549a
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.ecotouch.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * Trivial Exception Class.
19  *
20  * Used to solve compiler warning: "Avoid throwing raw exception types".
21  *
22  * @author Sebastian Held - Initial contribution
23  * @since 3.1.0
24  */
25 @NonNullByDefault
26 public class EcoTouchException extends Exception {
27     private static final long serialVersionUID = -346364205220073265L;
28
29     public EcoTouchException(String errorMessage, Throwable err) {
30         super(errorMessage, err);
31     }
32
33     public EcoTouchException(String errorMessage) {
34         super(errorMessage);
35     }
36
37     public EcoTouchException() {
38         super();
39     }
40 }