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.wlanthermo.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ChannelUID;
19 * The {@link WlanThermoUnknownChannelException} is thrown if a channel or trigger is unknown
21 * @author Christian Schlipp - Initial contribution
24 public class WlanThermoUnknownChannelException extends WlanThermoException {
26 static final long serialVersionUID = 1L;
27 public static final String UNKNOWN_CHANNEL_EXCEPTION = "Channel or Trigger unknown!";
29 public WlanThermoUnknownChannelException() {
30 super(UNKNOWN_CHANNEL_EXCEPTION);
33 public WlanThermoUnknownChannelException(ChannelUID channelUID) {
34 super(UNKNOWN_CHANNEL_EXCEPTION + "ChannelUID: " + channelUID.toString());
37 public WlanThermoUnknownChannelException(ChannelUID channelUID, Throwable cause) {
38 super(UNKNOWN_CHANNEL_EXCEPTION + "ChannelUID: " + channelUID.toString(), cause);