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/conflict/pair/ListMergeModel.java

    r7017 r7864  
    372372    private void copy(ListRole sourceRole, int[] rows, int position) {
    373373        if (position < 0 || position > getMergedEntriesSize())
    374             throw new IllegalArgumentException();
     374            throw new IllegalArgumentException("Position must be between 0 and "+getMergedEntriesSize()+" but is "+position);
    375375        List<T> newItems = new ArrayList<>(rows.length);
    376376        List<T> source = entries.get(sourceRole);
Note: See TracChangeset for help on using the changeset viewer.