Changeset 8919 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2015-10-20T16:49:10+02:00 (9 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/UserCancelException.java
r8917 r8919 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm. corrector;2 package org.openstreetmap.josm.tools; 3 3 4 /** 5 * Exception thrown when an operation is canceled by user. 6 * @since 1001 (creation) 7 * @since 8919 (move into this package) 8 */ 4 9 public class UserCancelException extends Exception { 5 10 11 /** 12 * Constructs a new {@code UserCancelException}. 13 */ 14 public UserCancelException() { 15 super(); 16 } 17 18 /** 19 * Constructs a new {@code UserCancelException} with the specified detail message and cause. 20 * 21 * @param message the detail message (which is saved for later retrieval by the {@link #getMessage()} method). 22 * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). 23 * (A <tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.) 24 */ 25 public UserCancelException(String message, Throwable cause) { 26 super(message, cause); 27 } 28 29 /** 30 * Constructs a new {@code UserCancelException} with the specified detail message. 31 * 32 * @param message the detail message (which is saved for later retrieval by the {@link #getMessage()} method). 33 */ 34 public UserCancelException(String message) { 35 super(message); 36 } 37 38 /** 39 * Constructs a new {@code UserCancelException} with the specified cause. 40 * 41 * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). 42 * (A <tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.) 43 */ 44 public UserCancelException(Throwable cause) { 45 super(cause); 46 } 6 47 }
Note:
See TracChangeset
for help on using the changeset viewer.