]> git.basschouten.com Git - openhab-addons.git/blob
a40d883a151ee16112655533fd11e500352cd742
[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;
14
15 import org.tellstick.device.TellstickException;
16
17 /**
18  * {@link TelldusBindingException} 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 TelldusBindingException extends TellstickException {
24
25     private static final long serialVersionUID = 30671795474333158L;
26
27     private String msg;
28
29     public TelldusBindingException(String message) {
30         super(null, 0);
31         this.msg = message;
32     }
33
34     @Override
35     public String getMessage() {
36         return msg;
37     }
38 }