2 * Copyright (c) 2010-2021 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.boschshc.internal.services.dto;
16 * Generic error response of the Bosch REST API.
18 * @author Christian Oeing - Initial contribution
20 public class JsonRestExceptionResponse extends BoschSHCServiceState {
21 public JsonRestExceptionResponse() {
22 super("JsonRestExceptionResponseEntity");
28 * The error code of the occurred Exception.
30 public String errorCode;
33 * The HTTP status of the error.
35 public int statusCode;