]> git.basschouten.com Git - openhab-addons.git/blob
cbb3f7fd33fd9d4c26b7ea2231a86ab8faf5e4a2
[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.hue.internal.exceptions;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * Thrown when the API returns an unknown error.
20  *
21  * @author Q42 - Initial contribution
22  * @author Denis Dudnik - moved Jue library source code inside the smarthome Hue binding
23  */
24 @SuppressWarnings("serial")
25 @NonNullByDefault
26 public class ApiException extends Exception {
27     public ApiException() {
28     }
29
30     public ApiException(String message) {
31         super(message);
32     }
33
34     public ApiException(String message, @Nullable Throwable e) {
35         super(message, e);
36     }
37 }