Package org.openstreetmap.josm.io
Class OsmTransferCanceledException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.openstreetmap.josm.io.OsmTransferException
-
- org.openstreetmap.josm.io.OsmTransferCanceledException
-
- All Implemented Interfaces:
Serializable
public class OsmTransferCanceledException extends OsmTransferException
Exception thrown when a communication with the OSM server has been cancelled by the user.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OsmTransferCanceledException(String message)
Constructs a newOsmTransferCanceledException
, without message.OsmTransferCanceledException(Throwable cause)
Constructs a newOsmTransferCanceledException
, with given root cause.
-
Method Summary
-
Methods inherited from class org.openstreetmap.josm.io.OsmTransferException
getUrl, setUrl
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
OsmTransferCanceledException
public OsmTransferCanceledException(String message)
Constructs a newOsmTransferCanceledException
, without message.- Parameters:
message
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method)- Since:
- 8415
-
OsmTransferCanceledException
public OsmTransferCanceledException(Throwable cause)
Constructs a newOsmTransferCanceledException
, with given root 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.
-
-