Last change
on this file since 14029 was 13493, checked in by Don-vip, 7 years ago |
see #11924, see #15560, see #16048 - tt HTML tag is deprecated in HTML5: use code instead
|
-
Property svn:eol-style
set to
native
|
File size:
1.6 KB
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.tools;
|
---|
3 |
|
---|
4 | /**
|
---|
5 | * Exception thrown when an operation is canceled by user.
|
---|
6 | * @since 1001 (creation)
|
---|
7 | * @since 8919 (move into this package)
|
---|
8 | */
|
---|
9 | public class UserCancelException extends Exception {
|
---|
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 <code>null</code> 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 <code>null</code> value is permitted, and indicates that the cause is nonexistent or unknown.)
|
---|
43 | */
|
---|
44 | public UserCancelException(Throwable cause) {
|
---|
45 | super(cause);
|
---|
46 | }
|
---|
47 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.