]> git.basschouten.com Git - openhab-addons.git/blob
26bcf94768ff89ece6e1cf681eb058c8bdee336e
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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.nest.internal.exceptions;
14
15 /**
16  * Will be thrown when the bridge was unable to retrieve data.
17  *
18  * @author Martin van Wingerden - Initial contribution
19  * @author Martin van Wingerden - Added more centralized handling of failure when retrieving data
20  */
21 @SuppressWarnings("serial")
22 public class FailedRetrievingNestDataException extends Exception {
23
24     public FailedRetrievingNestDataException(String message) {
25         super(message);
26     }
27
28     public FailedRetrievingNestDataException(String message, Throwable cause) {
29         super(message, cause);
30     }
31
32     public FailedRetrievingNestDataException(Throwable cause) {
33         super(cause);
34     }
35 }