source: josm/trunk/src/org/openstreetmap/josm/io/OsmTransferCanceledException.java@ 11879

Last change on this file since 11879 was 8415, checked in by Don-vip, 9 years ago

code style/cleanup - Uncommented Empty Constructor

  • Property svn:eol-style set to native
File size: 976 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.io;
3
4/**
5 * Exception thrown when a communication with the OSM server has been cancelled by the user.
6 */
7public class OsmTransferCanceledException extends OsmTransferException {
8
9 /**
10 * Constructs a new {@code OsmTransferCanceledException}, without message.
11 * @param message The detail message (which is saved for later retrieval by the {@link #getMessage} method)
12 * @since 8415
13 */
14 public OsmTransferCanceledException(String message) {
15 super(message);
16 }
17
18 /**
19 * Constructs a new {@code OsmTransferCanceledException}, with given root cause.
20 * @param cause the cause (which is saved for later retrieval by the {@link #getCause} method).
21 * A <tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.
22 */
23 public OsmTransferCanceledException(Throwable cause) {
24 super(cause);
25 }
26}
Note: See TracBrowser for help on using the repository browser.