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