Changeset 10066 in josm


Ignore:
Timestamp:
2016-03-28T13:21:49+02:00 (9 years ago)
Author:
Don-vip
Message:

catch HeadlessException in Utils.copyToClipboard for unit tests

File:
1 edited

Legend:

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

    r9987 r10066  
    601601            });
    602602            return true;
    603         } catch (IllegalStateException ex) {
     603        } catch (IllegalStateException | HeadlessException ex) {
    604604            Main.error(ex);
    605605            return false;
Note: See TracChangeset for help on using the changeset viewer.