]> git.basschouten.com Git - openhab-addons.git/blob
da1781ae903cfc9fd05c24e10be52528505d12c0
[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.lirc.internal;
14
15 /**
16  * Exceptions thrown from the serial interface.
17  *
18  * @author Andrew Nagle - Initial contributor
19  */
20 public class LIRCResponseException extends Exception {
21
22     private static final long serialVersionUID = 6214176461907613559L;
23
24     /**
25      * Constructor. Creates new instance of LIRCResponseException
26      */
27     public LIRCResponseException() {
28         super();
29     }
30
31     /**
32      * Constructor. Creates new instance of LIRCResponseException
33      *
34      * @param message the detail message.
35      */
36     public LIRCResponseException(String message) {
37         super(message);
38     }
39
40     /**
41      * Constructor. Creates new instance of LIRCResponseException
42      *
43      * @param cause the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
44      */
45     public LIRCResponseException(Throwable cause) {
46         super(cause);
47     }
48
49     /**
50      * Constructor. Creates new instance of LIRCResponseException
51      *
52      * @param message the detail message.
53      * @param cause the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
54      */
55     public LIRCResponseException(String message, Throwable cause) {
56         super(message, cause);
57     }
58 }