Package | Description |
---|---|
org.openstreetmap.josm.gui | |
org.openstreetmap.josm.gui.io | |
org.openstreetmap.josm.io | |
org.openstreetmap.josm.tools |
Modifier and Type | Method and Description |
---|---|
static void |
ExceptionDialogUtil.explainAuthenticationFailed(OsmApiException e)
Explains a
OsmApiException which was thrown because the authentication at
the OSM server failed |
static void |
ExceptionDialogUtil.explainAuthorizationFailed(OsmApiException e)
Explains a
OsmApiException which was thrown because accessing a protected
resource was forbidden (HTTP 403). |
static void |
ExceptionDialogUtil.explainBadRequest(OsmApiException e)
Explains a
OsmApiException which was thrown because of a bad
request |
static void |
ExceptionDialogUtil.explainBandwidthLimitExceeded(OsmApiException e)
Explains a
OsmApiException which was thrown because of a
bandwidth limit (HTTP 509) |
static void |
ExceptionDialogUtil.explainClientTimeout(OsmApiException e)
Explains a
OsmApiException which was thrown because of a
client timeout (HTTP 408) |
static void |
ExceptionDialogUtil.explainConflict(OsmApiException e)
Explains a
OsmApiException which was thrown because of a conflict |
static void |
ExceptionDialogUtil.explainGenericHttpException(OsmApiException e)
Explains a
OsmApiException 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 deleted
OsmPrimitive , i.e. |
static void |
ExceptionDialogUtil.explainNotFound(OsmApiException e)
Explains a
OsmApiException which was thrown because a resource wasn't found
on the server |
static void |
ExceptionDialogUtil.explainPreconditionFailed(OsmApiException e)
Explains an upload error due to a violated precondition, i.e.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ExceptionUtil.explainBadRequest(OsmApiException e)
Explains a
OsmApiException which was thrown because of a bad request. |
static java.lang.String |
ExceptionUtil.explainBandwidthLimitExceeded(OsmApiException e)
Explains a
OsmApiException 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 conflict
|
static java.lang.String |
ExceptionUtil.explainFailedAuthorisation(OsmApiException e) |
static java.lang.String |
ExceptionUtil.explainFailedBasicAuthentication(OsmApiException e) |
static java.lang.String |
ExceptionUtil.explainFailedOAuthAuthentication(OsmApiException e) |
static java.lang.String |
ExceptionUtil.explainFailedOAuthAuthorisation(OsmApiException e) |
static java.lang.String |
ExceptionUtil.explainGenericOsmApiException(OsmApiException e)
Replies a generic error message for an OSM API exception
|
static java.lang.String |
ExceptionUtil.explainGoneForUnknownPrimitive(OsmApiException e)
explains the case of an error due to a delete request on an already deleted
OsmPrimitive , i.e. |
static java.lang.String |
ExceptionUtil.explainNotFound(OsmApiException e)
Explains a
OsmApiException 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.
|