]> git.basschouten.com Git - openhab-addons.git/blob
7cf30e8fabec2b57d1b3a08ea6b3add9348d260a
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 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.insteon.internal.message;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * Exception to be thrown if there is an error processing a field, for
19  * example type mismatch, out of bounds etc.
20  *
21  * @author Daniel Pfrommer - Initial contribution
22  * @author Rob Nielsen - Port to openHAB 2 insteon binding
23  */
24 @NonNullByDefault
25 public class FieldException extends Exception {
26     private static final long serialVersionUID = -4749311173073727318L;
27
28     public FieldException() {
29         super();
30     }
31
32     public FieldException(String m) {
33         super(m);
34     }
35
36     public FieldException(String m, Throwable cause) {
37         super(m, cause);
38     }
39
40     public FieldException(Throwable cause) {
41         super(cause);
42     }
43 }