Last change
on this file since 14206 was 9227, checked in by Don-vip, 8 years ago |
OAuth: add robustness, basic unit test, code cleanup
|
-
Property svn:eol-style
set to
native
|
File size:
833 bytes
|
Rev | Line | |
---|
[2801] | 1 | // License: GPL. For details, see LICENSE file.
|
---|
| 2 | package org.openstreetmap.josm.gui.oauth;
|
---|
| 3 |
|
---|
[9227] | 4 | /**
|
---|
| 5 | * OSM OAuth authorization exception.
|
---|
| 6 | * @since 2746
|
---|
| 7 | */
|
---|
[2861] | 8 | public class OsmOAuthAuthorizationException extends Exception {
|
---|
[2801] | 9 |
|
---|
[9227] | 10 | /**
|
---|
| 11 | * Constructs a new {@code OsmLoginFailedException} with the specified detail message.
|
---|
| 12 | * @param message the detail message. The detail message is saved for later retrieval by the {@link #getMessage()} method.
|
---|
| 13 | */
|
---|
| 14 | public OsmOAuthAuthorizationException(String message) {
|
---|
| 15 | super(message);
|
---|
[2801] | 16 | }
|
---|
| 17 |
|
---|
[9227] | 18 | /**
|
---|
| 19 | * Constructs a new {@code OsmLoginFailedException} with the specified cause.
|
---|
| 20 | * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
|
---|
| 21 | */
|
---|
| 22 | public OsmOAuthAuthorizationException(Throwable cause) {
|
---|
| 23 | super(cause);
|
---|
[2801] | 24 | }
|
---|
| 25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.