Ignore:
Timestamp:
2016-05-15T00:51:10+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - squid:S2221 - "Exception" should not be caught when not required by called methods

File:
1 edited

Legend:

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

    r9972 r10212  
    2525import java.util.regex.Matcher;
    2626import java.util.regex.Pattern;
     27import java.util.regex.PatternSyntaxException;
    2728
    2829import javax.swing.JOptionPane;
     
    328329                            }
    329330                        }
    330                     } catch (Exception e) {
     331                    } catch (IOException | PatternSyntaxException | IllegalStateException | IndexOutOfBoundsException e) {
    331332                        Main.error(e);
    332333                    }
Note: See TracChangeset for help on using the changeset viewer.