Last change
on this file since 9227 was 9227, checked in by Don-vip, 9 years ago |
OAuth: add robustness, basic unit test, code cleanup
|
-
Property svn:eol-style
set to
native
|
File size:
833 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.gui.oauth;
|
---|
3 |
|
---|
4 | /**
|
---|
5 | * OSM OAuth authorization exception.
|
---|
6 | * @since 2746
|
---|
7 | */
|
---|
8 | public class OsmOAuthAuthorizationException extends Exception {
|
---|
9 |
|
---|
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);
|
---|
16 | }
|
---|
17 |
|
---|
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);
|
---|
24 | }
|
---|
25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.