Rev | Line | |
---|
[3083] | 1 | // License: GPL. For details, see LICENSE file.
|
---|
| 2 | package org.openstreetmap.josm.io;
|
---|
| 3 |
|
---|
[12470] | 4 | /**
|
---|
| 5 | * Exception thrown when a valid OAuth access token was expected, but not found.
|
---|
| 6 | */
|
---|
[9079] | 7 | public class MissingOAuthAccessTokenException extends OsmTransferException {
|
---|
[3083] | 8 |
|
---|
[9079] | 9 | /**
|
---|
| 10 | * Constructs a new {@code MissingOAuthAccessTokenException}.
|
---|
| 11 | */
|
---|
[3083] | 12 | public MissingOAuthAccessTokenException() {
|
---|
| 13 | super();
|
---|
| 14 | }
|
---|
| 15 |
|
---|
[9079] | 16 | /**
|
---|
[12470] | 17 | * Constructs a new {@code MissingOAuthAccessTokenException} with the specified detail message and cause.
|
---|
[9079] | 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 | */
|
---|
[3083] | 22 | public MissingOAuthAccessTokenException(String message, Throwable cause) {
|
---|
| 23 | super(message, cause);
|
---|
| 24 | }
|
---|
| 25 |
|
---|
[9079] | 26 | /**
|
---|
[12470] | 27 | * Constructs a new {@code MissingOAuthAccessTokenException} with the specified detail message.
|
---|
[9079] | 28 | * @param message The detail message (which is saved for later retrieval by the {@link #getMessage} method)
|
---|
| 29 | */
|
---|
[3083] | 30 | public MissingOAuthAccessTokenException(String message) {
|
---|
| 31 | super(message);
|
---|
| 32 | }
|
---|
| 33 |
|
---|
[9079] | 34 | /**
|
---|
[12470] | 35 | * Constructs a new {@code MissingOAuthAccessTokenException} with the specified cause.
|
---|
[9079] | 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 | */
|
---|
[3083] | 39 | public MissingOAuthAccessTokenException(Throwable cause) {
|
---|
| 40 | super(cause);
|
---|
| 41 | }
|
---|
| 42 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.