Changeset 11746 in josm for trunk/src/org/openstreetmap/josm/gui/JosmUserIdentityManager.java
- Timestamp:
- 2017-03-19T02:26:34+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/JosmUserIdentityManager.java
r11739 r11746 20 20 import org.openstreetmap.josm.io.auth.CredentialsManager; 21 21 import org.openstreetmap.josm.tools.CheckParameterUtil; 22 import org.openstreetmap.josm.tools.JosmRuntimeException; 22 23 23 24 /** … … 66 67 try { 67 68 instance.initFromOAuth(); 68 } catch ( RuntimeException e) {69 } catch (JosmRuntimeException | IllegalArgumentException | IllegalStateException e) { 69 70 Main.error(e); 70 71 // Fall back to preferences if OAuth identification fails for any reason
Note:
See TracChangeset
for help on using the changeset viewer.