Changeset 10212 in josm for trunk/src/org/openstreetmap/josm/io/remotecontrol
- Timestamp:
- 2016-05-15T00:51:10+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io/remotecontrol
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControlHttpServer.java
r9078 r10212 36 36 instance4 = new RemoteControlHttpServer(port, false); 37 37 instance4.start(); 38 } catch ( Exception ex) {38 } catch (IOException ex) { 39 39 Main.warn(marktr("Cannot start IPv4 remotecontrol server on port {0}: {1}"), 40 40 Integer.toString(port), ex.getLocalizedMessage()); … … 43 43 instance6 = new RemoteControlHttpServer(port, true); 44 44 instance6.start(); 45 } catch ( Exception ex) {45 } catch (IOException ex) { 46 46 /* only show error when we also have no IPv4 */ 47 47 if (instance4 == null) { -
trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControlHttpsServer.java
r10060 r10212 333 333 instance4 = new RemoteControlHttpsServer(port, false); 334 334 instance4.start(); 335 } catch ( Exception ex) {335 } catch (IOException | GeneralSecurityException ex) { 336 336 Main.warn(marktr("Cannot start IPv4 remotecontrol https server on port {0}: {1}"), 337 337 Integer.toString(port), ex.getLocalizedMessage()); … … 340 340 instance6 = new RemoteControlHttpsServer(port, true); 341 341 instance6.start(); 342 } catch ( Exception ex) {342 } catch (IOException | GeneralSecurityException ex) { 343 343 /* only show error when we also have no IPv4 */ 344 344 if (instance4 == null) { -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/ImportHandler.java
r9732 r10212 47 47 } 48 48 } 49 } catch ( Exception ex) {49 } catch (RuntimeException ex) { 50 50 Main.warn("RemoteControl: Error parsing import remote control request:"); 51 51 Main.error(ex); -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/LoadAndZoomHandler.java
r10131 r10212 145 145 } 146 146 } 147 } catch ( Exception ex) {147 } catch (RuntimeException ex) { 148 148 Main.warn("RemoteControl: Error parsing load_and_zoom remote control request:"); 149 149 Main.error(ex);
Note:
See TracChangeset
for help on using the changeset viewer.