]> git.basschouten.com Git - openhab-addons.git/blob
9d2251562e2880efe142f79ade765ba7f74fdbe2
[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.tellstick.internal.live;
14
15 import org.tellstick.device.TellstickException;
16
17 /**
18  * {@link TelldusLiveException} is used when there is exception communicating with Telldus Live.
19  * This exception extends the Telldus Core exception.
20  *
21  * @author Jarle Hjortland - Initial contribution
22  */
23 public class TelldusLiveException extends TellstickException {
24
25     public TelldusLiveException(Exception source) {
26         super(null, 0);
27         this.initCause(source);
28     }
29
30     private static final long serialVersionUID = 3067179547449451158L;
31
32     @Override
33     public String getMessage() {
34         return getCause().getMessage();
35     }
36 }