]> git.basschouten.com Git - openhab-addons.git/blob
31d83397c63b8ada8e7132aad3e194d8e7fa00d7
[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.pushsafer.internal.connection;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link PushsaferConfigurationException} is a configuration exception for the connections to Pushsafer Messages
19  * API.
20  *
21  * @author Kevin Siml - Initial contribution, forked from Christoph Weitkamp
22  */
23 @NonNullByDefault
24 public class PushsaferConfigurationException extends IllegalArgumentException {
25
26     private static final long serialVersionUID = 1L;
27
28     /**
29      * Constructs a new exception with null as its detail message.
30      */
31     public PushsaferConfigurationException() {
32         super();
33     }
34
35     /**
36      * Constructs a new exception with the specified detail message.
37      *
38      * @param message Detail message
39      */
40     public PushsaferConfigurationException(String message) {
41         super(message);
42     }
43
44     /**
45      * Constructs a new exception with the specified cause.
46      *
47      * @param cause The cause
48      */
49     public PushsaferConfigurationException(Throwable cause) {
50         super(cause);
51     }
52
53     /**
54      * Constructs a new exception with the specified detail message and cause.
55      *
56      * @param message Detail message
57      * @param cause The cause
58      */
59     public PushsaferConfigurationException(String message, Throwable cause) {
60         super(message, cause);
61     }
62 }