Uses of Class
org.openstreetmap.josm.io.OsmApiException
-
Packages that use OsmApiException Package Description org.openstreetmap.josm.gui Provides the classes for JOSM graphical user interface.org.openstreetmap.josm.gui.io Provides GUI classes for handling input/output operations (download, upload, save).org.openstreetmap.josm.io Provides the classes for JOSM input/output support.org.openstreetmap.josm.io.remotecontrol.handler Provides the classes for remote control handlers (features exposed to the browser).org.openstreetmap.josm.tools Provides the classes for various utilities and tools called from all other packages. -
-
Uses of OsmApiException in org.openstreetmap.josm.gui
Methods in org.openstreetmap.josm.gui with parameters of type OsmApiException Modifier and Type Method Description static void
ExceptionDialogUtil. explainAuthenticationFailed(OsmApiException e)
Explains aOsmApiException
which was thrown because the authentication at the OSM server failedstatic void
ExceptionDialogUtil. explainAuthorizationFailed(OsmApiException e)
Explains aOsmApiException
which was thrown because accessing a protected resource was forbidden (HTTP 403).static void
ExceptionDialogUtil. explainBadRequest(OsmApiException e)
Explains aOsmApiException
which was thrown because of a bad requeststatic void
ExceptionDialogUtil. explainBandwidthLimitExceeded(OsmApiException e)
Explains aOsmApiException
which was thrown because of a bandwidth limit (HTTP 509)static void
ExceptionDialogUtil. explainClientTimeout(OsmApiException e)
Explains aOsmApiException
which was thrown because of a client timeout (HTTP 408)static void
ExceptionDialogUtil. explainConflict(OsmApiException e)
Explains aOsmApiException
which was thrown because of a conflictstatic void
ExceptionDialogUtil. explainGenericHttpException(OsmApiException e)
Explains aOsmApiException
with a generic error message.static void
ExceptionDialogUtil. explainGoneForUnknownPrimitive(OsmApiException e)
explains the case of an error due to a delete request on an already deletedOsmPrimitive
, i.e.static void
ExceptionDialogUtil. explainNotFound(OsmApiException e)
Explains aOsmApiException
which was thrown because a resource wasn't found on the serverstatic void
ExceptionDialogUtil. explainPreconditionFailed(OsmApiException e)
Explains an upload error due to a violated precondition, i.e. -
Uses of OsmApiException in org.openstreetmap.josm.gui.io
Methods in org.openstreetmap.josm.gui.io with parameters of type OsmApiException Modifier and Type Method Description protected void
AbstractUploadTask. handlePreconditionFailed(OsmApiException e)
handles an precondition failed conflict, i.e.protected void
AbstractUploadTask. handleUploadConflict(OsmApiException e)
handles an upload conflict, i.e.protected void
AbstractUploadTask. handleUploadPreconditionFailedConflict(OsmApiException e, Pair<OsmPrimitive,java.util.Collection<OsmPrimitive>> conflict)
Handles the case where deleting a node failed because it is still in use in a non-deleted way on the server. -
Uses of OsmApiException in org.openstreetmap.josm.io
Subclasses of OsmApiException in org.openstreetmap.josm.io Modifier and Type Class Description class
OsmApiPrimitiveGoneException
Represents an exception thrown by the OSM API if JOSM tries to update or delete a primitive which is already deleted on the server. -
Uses of OsmApiException in org.openstreetmap.josm.io.remotecontrol.handler
Constructors in org.openstreetmap.josm.io.remotecontrol.handler with parameters of type OsmApiException Constructor Description RequestHandlerOsmApiException(OsmApiException cause)
Constructs a newRequestHandlerOsmApiException
. -
Uses of OsmApiException in org.openstreetmap.josm.tools
Methods in org.openstreetmap.josm.tools with parameters of type OsmApiException Modifier and Type Method Description static java.lang.String
ExceptionUtil. explainBadRequest(OsmApiException e)
Explains aOsmApiException
which was thrown because of a bad request.static java.lang.String
ExceptionUtil. explainBandwidthLimitExceeded(OsmApiException e)
Explains aOsmApiException
which was thrown because of bandwidth limit exceeded (HTTP error 509)static java.lang.String
ExceptionUtil. explainClientTimeout(OsmApiException e)
Explains an OSM API exception because of a client timeout (HTTP 408).static java.lang.String
ExceptionUtil. explainConflict(OsmApiException e)
Explains an error due to a 409 conflictstatic java.lang.String
ExceptionUtil. explainFailedAuthorisation(OsmApiException e)
Explains aOsmApiException
which was thrown because accessing a protected resource was forbidden (HTTP 403), without OAuth authentication.static java.lang.String
ExceptionUtil. explainFailedBasicAuthentication(OsmApiException e)
Explains aOsmApiException
which was thrown because the authentication at the OSM server failed, with basic authentication.static java.lang.String
ExceptionUtil. explainFailedOAuthAuthentication(OsmApiException e)
Explains aOsmApiException
which was thrown because the authentication at the OSM server failed, with OAuth authentication.static java.lang.String
ExceptionUtil. explainFailedOAuthAuthorisation(OsmApiException e)
Explains aOsmApiException
which was thrown because accessing a protected resource was forbidden (HTTP 403), with OAuth authentication.static java.lang.String
ExceptionUtil. explainGenericOsmApiException(OsmApiException e)
Replies a generic error message for an OSM API exceptionstatic java.lang.String
ExceptionUtil. explainGoneForUnknownPrimitive(OsmApiException e)
explains the case of an error due to a delete request on an already deletedOsmPrimitive
, i.e.static java.lang.String
ExceptionUtil. explainNotFound(OsmApiException e)
Explains aOsmApiException
which was thrown because a resource wasn't found.static java.lang.String
ExceptionUtil. explainPreconditionFailed(OsmApiException e)
Explains an upload error due to a violated precondition, i.e.(package private) static java.lang.String
ExceptionUtil. getUrlFromException(OsmApiException e)
static boolean
ExceptionUtil. isUserBlocked(OsmApiException e)
Determines if the OSM API exception has been thrown because user has been blocked or suspended.
-