/**
* Copyright (c) 2010-2016 by the respective copyright holders.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.openhab.binding.withings.internal.api;
/**
* {@link WithingsConnectionException} is thrown for every error that occurs
* while connecting to the Withings API. The cause exception (if there is one)
* can be retrieved by {@link WithingsConnectionException#getCause()}. For a
* detailed explanation of Withings API error codes please look at
* http://www.withings.com/de/api#responsecodes.
*
* @see http://www.withings.com/de/api#responsecodes
* @author Dennis Nobel
* @since 1.5.0
*/
public class WithingsConnectionException extends Exception {
private static final long serialVersionUID = -5173894547371219059L;
public WithingsConnectionException(String message) {
super(message);
}
public WithingsConnectionException(String message, Throwable cause) {
super(message, cause);
}
}