Uses of Class
org.openstreetmap.josm.io.OsmApiException
Packages that use OsmApiException
Package
Description
Provides the classes for JOSM graphical user interface.
Provides GUI classes for handling input/output operations (download, upload, save).
Provides the classes for JOSM input/output support.
Provides the classes for remote control handlers (features exposed to the browser).
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 OsmApiExceptionModifier and TypeMethodDescriptionstatic voidExceptionDialogUtil.explainAuthenticationFailed(OsmApiException e) Explains aOsmApiExceptionwhich was thrown because the authentication at the OSM server failedstatic voidExceptionDialogUtil.explainAuthorizationFailed(OsmApiException e) Explains aOsmApiExceptionwhich was thrown because accessing a protected resource was forbidden (HTTP 403).static voidExceptionDialogUtil.explainBadRequest(OsmApiException e) Explains aOsmApiExceptionwhich was thrown because of a bad requeststatic voidExceptionDialogUtil.explainBandwidthLimitExceeded(OsmApiException e) Explains aOsmApiExceptionwhich was thrown because of a bandwidth limit (HTTP 509)static voidExceptionDialogUtil.explainClientTimeout(OsmApiException e) Explains aOsmApiExceptionwhich was thrown because of a client timeout (HTTP 408)static voidExceptionDialogUtil.explainConflict(OsmApiException e) Explains aOsmApiExceptionwhich was thrown because of a conflictstatic voidExceptionDialogUtil.explainGenericHttpException(OsmApiException e) Explains aOsmApiExceptionwith a generic error message.static voidExceptionDialogUtil.explainGoneForUnknownPrimitive(OsmApiException e) explains the case of an error due to a delete request on an already deletedOsmPrimitive, i.e.static voidExceptionDialogUtil.explainNotFound(OsmApiException e) Explains aOsmApiExceptionwhich was thrown because a resource wasn't found on the serverstatic voidExceptionDialogUtil.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 OsmApiExceptionModifier and TypeMethodDescriptionprotected voidAbstractUploadTask.handlePreconditionFailed(OsmApiException e) handles an precondition failed conflict, i.e.protected voidAbstractUploadTask.handleUploadConflict(OsmApiException e) handles an upload conflict, i.e.protected voidAbstractUploadTask.handleUploadPreconditionFailedConflict(OsmApiException e, Pair<OsmPrimitive, 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.ioModifier and TypeClassDescriptionclassRepresents 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 OsmApiExceptionModifierConstructorDescriptionConstructs a newRequestHandlerOsmApiException. -
Uses of OsmApiException in org.openstreetmap.josm.tools
Methods in org.openstreetmap.josm.tools with parameters of type OsmApiExceptionModifier and TypeMethodDescriptionstatic StringExceptionUtil.explainBadRequest(OsmApiException e) Explains aOsmApiExceptionwhich was thrown because of a bad request.static StringExceptionUtil.explainBandwidthLimitExceeded(OsmApiException e) Explains aOsmApiExceptionwhich was thrown because of bandwidth limit exceeded (HTTP error 509)static StringExceptionUtil.explainClientTimeout(OsmApiException e) Explains an OSM API exception because of a client timeout (HTTP 408).static StringExceptionUtil.explainConflict(OsmApiException e) Explains an error due to a 409 conflictstatic StringExceptionUtil.explainFailedAuthorisation(OsmApiException e) Explains aOsmApiExceptionwhich was thrown because accessing a protected resource was forbidden (HTTP 403), without OAuth authentication.static StringExceptionUtil.explainFailedBasicAuthentication(OsmApiException e) Explains aOsmApiExceptionwhich was thrown because the authentication at the OSM server failed, with basic authentication.static StringExceptionUtil.explainFailedOAuthAuthentication(OsmApiException e) Explains aOsmApiExceptionwhich was thrown because the authentication at the OSM server failed, with OAuth authentication.static StringExceptionUtil.explainFailedOAuthAuthorisation(OsmApiException e) Explains aOsmApiExceptionwhich was thrown because accessing a protected resource was forbidden (HTTP 403), with OAuth authentication.static StringExceptionUtil.explainGenericOsmApiException(OsmApiException e) Replies a generic error message for an OSM API exceptionstatic StringExceptionUtil.explainGoneForUnknownPrimitive(OsmApiException e) explains the case of an error due to a delete request on an already deletedOsmPrimitive, i.e.static StringExceptionUtil.explainNotFound(OsmApiException e) Explains aOsmApiExceptionwhich was thrown because a resource wasn't found.static StringExceptionUtil.explainPreconditionFailed(OsmApiException e) Explains an upload error due to a violated precondition, i.e.(package private) static StringExceptionUtil.getUrlFromException(OsmApiException e) static booleanExceptionUtil.isUserBlocked(OsmApiException e) Determines if the OSM API exception has been thrown because user has been blocked or suspended.