]> git.basschouten.com Git - openhab-addons.git/blob
0fd850580a1f100f08dafd740eb784bf7988942e
[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.bluetooth;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * This is thrown when some kind of connection issue occurs as part of a bluetooth api call that expects a connection.
19  *
20  * @author Connor Petty - Initial contribution
21  *
22  */
23 @NonNullByDefault
24 public class ConnectionException extends BluetoothException {
25
26     private static final long serialVersionUID = 2966261738506666653L;
27
28     public ConnectionException() {
29         super();
30     }
31
32     public ConnectionException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
33         super(message, cause, enableSuppression, writableStackTrace);
34     }
35
36     public ConnectionException(String message, Throwable cause) {
37         super(message, cause);
38     }
39
40     public ConnectionException(String message) {
41         super(message);
42     }
43
44     public ConnectionException(Throwable cause) {
45         super(cause);
46     }
47 }