Ignore:
Timestamp:
2016-12-09T23:31:13+01:00 (7 years ago)
Author:
Don-vip
Message:

sonar - squid:S00112 - Generic exceptions should never be thrown: define JosmRuntimeException

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/Main.java

    r11352 r11374  
    100100import org.openstreetmap.josm.tools.I18n;
    101101import org.openstreetmap.josm.tools.ImageProvider;
     102import org.openstreetmap.josm.tools.JosmRuntimeException;
    102103import org.openstreetmap.josm.tools.Logging;
    103104import org.openstreetmap.josm.tools.OpenBrowser;
     
    560561            service.shutdown();
    561562        } catch (InterruptedException | ExecutionException ex) {
    562             throw new RuntimeException(ex);
     563            throw new JosmRuntimeException(ex);
    563564        }
    564565
Note: See TracChangeset for help on using the changeset viewer.