Package org.openstreetmap.josm.tools
Class UserCancelException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.openstreetmap.josm.tools.UserCancelException
-
- All Implemented Interfaces:
Serializable
public class UserCancelException extends Exception
Exception thrown when an operation is canceled by user.- Since:
- 1001 (creation), 8919 (move into this package)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserCancelException()
Constructs a newUserCancelException
.UserCancelException(String message)
Constructs a newUserCancelException
with the specified detail message.UserCancelException(String message, Throwable cause)
Constructs a newUserCancelException
with the specified detail message and cause.UserCancelException(Throwable cause)
Constructs a newUserCancelException
with the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UserCancelException
public UserCancelException()
Constructs a newUserCancelException
.
-
UserCancelException
public UserCancelException(String message, Throwable cause)
Constructs a newUserCancelException
with the specified detail message and cause.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
UserCancelException
public UserCancelException(String message)
Constructs a newUserCancelException
with the specified detail message.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).
-
UserCancelException
public UserCancelException(Throwable cause)
Constructs a newUserCancelException
with the specified cause.- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-