001// License: GPL. For details, see LICENSE file.
002package org.openstreetmap.josm.gui.oauth;
003
004/**
005 * OSM OAuth authorization exception.
006 * @since 2746
007 */
008public class OsmOAuthAuthorizationException extends Exception {
009
010    /**
011     * Constructs a new {@code OsmLoginFailedException} with the specified detail message.
012     * @param message the detail message. The detail message is saved for later retrieval by the {@link #getMessage()} method.
013     */
014    public OsmOAuthAuthorizationException(String message) {
015        super(message);
016    }
017
018    /**
019     * Constructs a new {@code OsmLoginFailedException} with the specified cause.
020     * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
021     */
022    public OsmOAuthAuthorizationException(Throwable cause) {
023        super(cause);
024    }
025}