]> git.basschouten.com Git - openhab-addons.git/blob
6c2ec963d13958a1d9f772ee33082aa235bd31ac
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.nest.internal.exceptions;
14
15 /**
16  * Will be thrown when there is no valid access token and it was not possible to refresh it
17  *
18  * @author Martin van Wingerden - Initial contribution
19  * @author Martin van Wingerden - Added more centralized handling of invalid access tokens
20  */
21 @SuppressWarnings("serial")
22 public class InvalidAccessTokenException extends Exception {
23     public InvalidAccessTokenException(Exception cause) {
24         super(cause);
25     }
26
27     public InvalidAccessTokenException(String message, Throwable cause) {
28         super(message, cause);
29     }
30
31     public InvalidAccessTokenException(String message) {
32         super(message);
33     }
34 }