Ignore:
Timestamp:
2016-05-17T02:02:30+02:00 (8 years ago)
Author:
Don-vip
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/validator/ValidatorTagCheckerRulesPreferenceTestIT.java

    r9669 r10235  
    1414import org.openstreetmap.josm.data.validation.tests.MapCSSTagChecker;
    1515import org.openstreetmap.josm.data.validation.tests.MapCSSTagChecker.ParseResult;
    16 import org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.ParseException;
    1716import org.openstreetmap.josm.gui.preferences.SourceEditor.ExtendedSourceEntry;
    1817
     
    3231    /**
    3332     * Test that available tag checker rules are valid.
    34      * @throws IOException if any I/O error occurs
    35      * @throws ParseException if the config file does not match MapCSS syntax
     33     * @throws Exception in case of error
    3634     */
    3735    @Test
    38     public void testValidityOfAvailableRules() throws ParseException, IOException {
     36    public void testValidityOfAvailableRules() throws Exception {
    3937        Collection<ExtendedSourceEntry> sources = new ValidatorTagCheckerRulesPreference.TagCheckerRulesSourceEditor()
    4038                .loadAndGetAvailableSources();
Note: See TracChangeset for help on using the changeset viewer.