001// License: GPL. For details, see LICENSE file. 002package org.openstreetmap.josm.io; 003 004public class MissingOAuthAccessTokenException extends OsmTransferException { 005 006 /** 007 * Constructs a new {@code MissingOAuthAccessTokenException}. 008 */ 009 public MissingOAuthAccessTokenException() { 010 super(); 011 } 012 013 /** 014 * Constructs a new {@code OsmTransferException} with the specified detail message and cause. 015 * @param message The detail message (which is saved for later retrieval by the {@link #getMessage} method) 016 * @param cause The cause (which is saved for later retrieval by the {@link #getCause} method). 017 * A null value is permitted, and indicates that the cause is nonexistent or unknown. 018 */ 019 public MissingOAuthAccessTokenException(String message, Throwable cause) { 020 super(message, cause); 021 } 022 023 /** 024 * Constructs a new {@code OsmTransferException} with the specified detail message. 025 * @param message The detail message (which is saved for later retrieval by the {@link #getMessage} method) 026 */ 027 public MissingOAuthAccessTokenException(String message) { 028 super(message); 029 } 030 031 /** 032 * Constructs a new {@code OsmTransferException} with the specified cause. 033 * @param cause The cause (which is saved for later retrieval by the {@link #getCause} method). 034 * A null value is permitted, and indicates that the cause is nonexistent or unknown. 035 */ 036 public MissingOAuthAccessTokenException(Throwable cause) { 037 super(cause); 038 } 039}