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.yamahareceiver.internal.protocol;
16 * An exception that is thrown if parsing of the received XML or JSON failed or
17 * if data that was expected could not be found in the response.
19 * @author David Graeff - Initial contribution
21 public class ReceivedMessageParseException extends Exception {
23 private static final long serialVersionUID = 2703218443322787635L;
26 * Constructs a ReceivedMessageParseException with the specified detail message.
27 * A detail message is a String that describes this particular exception.
29 * @param s the detail message
31 public ReceivedMessageParseException(String s) {
35 public ReceivedMessageParseException(Exception e) {