Ignore:
Timestamp:
2020-05-16T21:25:54+02:00 (4 years ago)
Author:
simon04
Message:

see #18712 - Add OfflineAccessException.forResource(String)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OnlineResource.java

    r16426 r16427  
    6969    public final void checkOfflineAccess(String downloadString, String ignore) {
    7070        if (NetworkManager.isOffline(downloadString)) {
    71             throw new OfflineAccessException(tr("Unable to access ''{0}'': {1} not available (offline mode)", downloadString, getLocName()));
     71            throw OfflineAccessException.forResource(downloadString);
    7272        }
    7373    }
Note: See TracChangeset for help on using the changeset viewer.