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 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 OsmApiException Modifier and Type Method Description protected 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,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 classOsmApiPrimitiveGoneExceptionRepresents 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.StringExceptionUtil. explainBadRequest(OsmApiException e)Explains aOsmApiExceptionwhich was thrown because of a bad request.static java.lang.StringExceptionUtil. explainBandwidthLimitExceeded(OsmApiException e)Explains aOsmApiExceptionwhich was thrown because of bandwidth limit exceeded (HTTP error 509)static java.lang.StringExceptionUtil. explainClientTimeout(OsmApiException e)Explains an OSM API exception because of a client timeout (HTTP 408).static java.lang.StringExceptionUtil. explainConflict(OsmApiException e)Explains an error due to a 409 conflictstatic java.lang.StringExceptionUtil. explainFailedAuthorisation(OsmApiException e)Explains aOsmApiExceptionwhich was thrown because accessing a protected resource was forbidden (HTTP 403), without OAuth authentication.static java.lang.StringExceptionUtil. explainFailedBasicAuthentication(OsmApiException e)Explains aOsmApiExceptionwhich was thrown because the authentication at the OSM server failed, with basic authentication.static java.lang.StringExceptionUtil. explainFailedOAuthAuthentication(OsmApiException e)Explains aOsmApiExceptionwhich was thrown because the authentication at the OSM server failed, with OAuth authentication.static java.lang.StringExceptionUtil. explainFailedOAuthAuthorisation(OsmApiException e)Explains aOsmApiExceptionwhich was thrown because accessing a protected resource was forbidden (HTTP 403), with OAuth authentication.static java.lang.StringExceptionUtil. explainGenericOsmApiException(OsmApiException e)Replies a generic error message for an OSM API exceptionstatic java.lang.StringExceptionUtil. explainGoneForUnknownPrimitive(OsmApiException e)explains the case of an error due to a delete request on an already deletedOsmPrimitive, i.e.static java.lang.StringExceptionUtil. explainNotFound(OsmApiException e)Explains aOsmApiExceptionwhich was thrown because a resource wasn't found.static java.lang.StringExceptionUtil. explainPreconditionFailed(OsmApiException e)Explains an upload error due to a violated precondition, i.e.(package private) static java.lang.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.
-