2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.pushsafer.internal.connection;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
19 * The {@link PushsaferCommunicationException} is a configuration exception for the connections to Pushsafer Messages
22 * @author Kevin Siml - Initial contribution, forked from Christoph Weitkamp
25 public class PushsaferCommunicationException extends RuntimeException {
27 private static final long serialVersionUID = 1L;
30 * Constructs a new exception with null as its detail message.
32 public PushsaferCommunicationException() {
37 * Constructs a new exception with the specified detail message.
39 * @param message Detail message
41 public PushsaferCommunicationException(@Nullable String message) {
46 * Constructs a new exception with the specified cause.
48 * @param cause The cause
50 public PushsaferCommunicationException(@Nullable Throwable cause) {
55 * Constructs a new exception with the specified detail message and cause.
57 * @param message Detail message
58 * @param cause The cause
60 public PushsaferCommunicationException(@Nullable String message, @Nullable Throwable cause) {
61 super(message, cause);