Ignore:
Timestamp:
2014-12-20T22:43:20+01:00 (9 years ago)
Author:
Don-vip
Message:

global cleanup of IllegalArgumentExceptions thrown by JOSM

File:
1 edited

Legend:

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

    r7843 r7864  
    266266                values.add(g.getOptarg());
    267267            } else
    268                 throw new IllegalArgumentException();
     268                throw new IllegalArgumentException("Invalid option: "+c);
    269269        }
    270270        // positional arguments are a shortcut for the --download ... option
Note: See TracChangeset for help on using the changeset viewer.