Changeset 2599 in josm for trunk/src/org/openstreetmap/josm/io/ChangesetClosedException.java
- Timestamp:
- 2009-12-09T21:25:40+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/ChangesetClosedException.java
r2569 r2599 31 31 final static public String ERROR_HEADER_PATTERN = "The changeset (\\d+) was closed at (.*)"; 32 32 33 static enum Source {33 public static enum Source { 34 34 /** 35 35 * The exception was thrown when a changeset was updated. This most likely means … … 114 114 115 115 /** 116 * Creates the exception 117 * 118 * @param changesetId the id if the closed changeset 119 * @param closedOn the date the changeset was closed on 120 * @param source the source for the exception 121 */ 122 public ChangesetClosedException(long changesetId, Date closedOn, Source source) { 123 super(""); 124 this.source = source == null ? Source.UNSPECIFIED : source; 125 this.changesetId = changesetId; 126 this.closedOn = closedOn; 127 } 128 129 /** 116 130 * Replies the id of the changeset which was closed 117 131 * … … 139 153 return source; 140 154 } 155 156 public void setSource(Source source) { 157 this.source = source == null ? Source.UNSPECIFIED : source; 158 } 141 159 }
Note:
See TracChangeset
for help on using the changeset viewer.