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.paradoxalarm.internal.exceptions;
16 * The {@link ParadoxRuntimeException} Used for Paradox binding specific runtime exceptions.
18 * @author Konstantin Polihronov - Initial contribution
20 public class ParadoxRuntimeException extends RuntimeException {
22 private static final long serialVersionUID = -4656474289606169766L;
24 public ParadoxRuntimeException(String message) {
28 public ParadoxRuntimeException() {
32 public ParadoxRuntimeException(String message, Throwable cause, boolean enableSuppression,
33 boolean writableStackTrace) {
34 super(message, cause, enableSuppression, writableStackTrace);
37 public ParadoxRuntimeException(String message, Throwable cause) {
38 super(message, cause);
41 public ParadoxRuntimeException(Throwable cause) {
42 this("This is a Paradox Binding wrapper of RuntimeException. For detailed error message, see the original exception. Short message: "
43 + cause.getMessage(), cause);