source: josm/trunk/src/org/openstreetmap/josm/io/MissingOAuthAccessTokenException.java@ 12510

Last change on this file since 12510 was 12470, checked in by bastiK, 7 years ago

see #14794 - javadoc

  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.io;
3
4/**
5 * Exception thrown when a valid OAuth access token was expected, but not found.
6 */
7public class MissingOAuthAccessTokenException extends OsmTransferException {
8
9 /**
10 * Constructs a new {@code MissingOAuthAccessTokenException}.
11 */
12 public MissingOAuthAccessTokenException() {
13 super();
14 }
15
16 /**
17 * Constructs a new {@code MissingOAuthAccessTokenException} with the specified detail message and cause.
18 * @param message The detail message (which is saved for later retrieval by the {@link #getMessage} method)
19 * @param cause The cause (which is saved for later retrieval by the {@link #getCause} method).
20 * A null value is permitted, and indicates that the cause is nonexistent or unknown.
21 */
22 public MissingOAuthAccessTokenException(String message, Throwable cause) {
23 super(message, cause);
24 }
25
26 /**
27 * Constructs a new {@code MissingOAuthAccessTokenException} with the specified detail message.
28 * @param message The detail message (which is saved for later retrieval by the {@link #getMessage} method)
29 */
30 public MissingOAuthAccessTokenException(String message) {
31 super(message);
32 }
33
34 /**
35 * Constructs a new {@code MissingOAuthAccessTokenException} with the specified cause.
36 * @param cause The cause (which is saved for later retrieval by the {@link #getCause} method).
37 * A null value is permitted, and indicates that the cause is nonexistent or unknown.
38 */
39 public MissingOAuthAccessTokenException(Throwable cause) {
40 super(cause);
41 }
42}
Note: See TracBrowser for help on using the repository browser.