]> git.basschouten.com Git - openhab-addons.git/blob
6e1f2ccd1f7f056095e3a4c1402a9dffcf923372
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 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.spotify.internal.api.exception;
14
15 /**
16  * Spotify authorization problems exception class.
17  *
18  * @author Hilbrand Bouwkamp - Initial contribution
19  */
20 public class SpotifyAuthorizationException extends RuntimeException {
21
22     private static final long serialVersionUID = -1931713564920750911L;
23
24     /**
25      * Constructor.
26      *
27      * @param message Spotify error message
28      */
29     public SpotifyAuthorizationException(String message) {
30         super(message);
31     }
32
33     /**
34      * Constructor.
35      *
36      * @param message Spotify error message
37      * @param exception Original cause of this exception
38      */
39     public SpotifyAuthorizationException(String message, Throwable exception) {
40         super(message, exception);
41     }
42 }