source: josm/trunk/src/org/openstreetmap/josm/io/OsmTransferException.java@ 3681

Last change on this file since 3681 was 3255, checked in by jttt, 14 years ago

Fix #4764 Fehler

  • Property svn:eol-style set to native
File size: 715 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.io;
3
4public class OsmTransferException extends Exception {
5
6 private String url = OsmApi.getOsmApi().getBaseUrl();
7
8 public OsmTransferException() {
9 }
10
11 public OsmTransferException(String message) {
12 super(message);
13 }
14
15 public OsmTransferException(Throwable cause) {
16 super(cause);
17 }
18
19 public OsmTransferException(String message, Throwable cause) {
20 super(message, cause);
21 }
22
23 public void setUrl(String url) {
24 this.url = url;
25 }
26
27 /**
28 *
29 * @return Api base url or url set using setUrl method
30 */
31 public String getUrl() {
32 return url;
33 }
34
35}
Note: See TracBrowser for help on using the repository browser.