Uses of Class
org.openstreetmap.josm.io.OsmTransferException
-
Packages that use OsmTransferException Package Description org.openstreetmap.josm.actions Provides the classes for JOSM user actions.org.openstreetmap.josm.actions.downloadtasks Provides the classes for JOSMdownload tasks
.org.openstreetmap.josm.actions.upload Provides the classes for JOSMupload action
.org.openstreetmap.josm.command Provides the classes for JOSM commands allowing to modify an OSM data set.org.openstreetmap.josm.data.osm Provides the classes for OSM data:Primitives
:Node
,Way
,Relation
Users
Tags
Changesets
Utilities classesorg.openstreetmap.josm.gui Provides the classes for JOSM graphical user interface.org.openstreetmap.josm.gui.dialogs Provides three kinds of dialogs: Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI Changeset dialog based on a standalone implementation, dedicated to OSM changesets management Extended dialogs for everything elseorg.openstreetmap.josm.gui.dialogs.relation Toggle dialog allowing to display currently loaded relations and perform operations on them.org.openstreetmap.josm.gui.download Provides GUI classes for the download dialog.org.openstreetmap.josm.gui.history Provides GUI classes for handling history of OSM objects.org.openstreetmap.josm.gui.io Provides GUI classes for handling input/output operations (download, upload, save).org.openstreetmap.josm.gui.layer.geoimage Provides classes for handling layers displaying geotagged pictures.org.openstreetmap.josm.gui.layer.gpx Provides classes for handling GPX layers.org.openstreetmap.josm.gui.oauth Provides GUI classes for handling OAuth authentication to OSM API.org.openstreetmap.josm.gui.preferences Provides generic classes for handling JOSM preferences.org.openstreetmap.josm.gui.preferences.server Provides classes for handling connection preferences, including server authentication and proxy settings.org.openstreetmap.josm.io Provides the classes for JOSM input/output support.org.openstreetmap.josm.plugins Provides the classes for JOSM plugins system.org.openstreetmap.josm.tools Provides the classes for various utilities and tools called from all other packages. -
-
Uses of OsmTransferException in org.openstreetmap.josm.actions
Methods in org.openstreetmap.josm.actions that throw OsmTransferException Modifier and Type Method Description private UserInfo
CloseChangesetAction.DownloadOpenChangesetsTask. fetchUserInfo()
Fetch the user info from the server.protected void
CloseChangesetAction.DownloadOpenChangesetsTask. realRun()
protected void
OpenFileAction.OpenFileTask. realRun()
protected void
UploadSelectionAction.DeletedParentsChecker. realRun()
-
Uses of OsmTransferException in org.openstreetmap.josm.actions.downloadtasks
Methods in org.openstreetmap.josm.actions.downloadtasks that throw OsmTransferException Modifier and Type Method Description protected void
ChangesetContentDownloadTask.DownloadTask. downloadChangeset(int changesetId)
Downloads the changeset with idchangesetId
(only "header" information, no content)protected void
DownloadReferrersTask. downloadParents(long id, OsmPrimitiveType type, ProgressMonitor progressMonitor)
protected void
ChangesetQueryTask.DownloadTask. fullyIdentifyCurrentUser()
Tries to fully identify the current JOSM userprivate void
DownloadOsmChangeTask.DownloadTask. loadLastVersions(java.util.Map<OsmPrimitive,java.time.Instant> toLoad, java.util.Map<OsmPrimitive,java.time.Instant> toLoadNext)
This gets the last versions of references primitives.protected DataSet
DownloadOsmChangeTask.DownloadTask. parseDataSet()
protected DataSet
DownloadOsmTask.DownloadTask. parseDataSet()
protected void
ChangesetContentDownloadTask.DownloadTask. realRun()
protected void
ChangesetHeaderDownloadTask.DownloadTask. realRun()
protected void
ChangesetQueryTask.DownloadTask. realRun()
void
DownloadGpsTask.DownloadTask. realRun()
void
DownloadNotesTask.DownloadBoundingBoxTask. realRun()
void
DownloadNotesTask.DownloadCompressedRawUrlTask. realRun()
void
DownloadNotesTask.DownloadRawUrlTask. realRun()
abstract void
DownloadNotesTask.DownloadTask. realRun()
void
DownloadOsmChangeTask.DownloadTask. realRun()
void
DownloadOsmTask.DownloadTask. realRun()
protected void
DownloadReferrersTask. realRun()
-
Uses of OsmTransferException in org.openstreetmap.josm.actions.upload
Methods in org.openstreetmap.josm.actions.upload that throw OsmTransferException Modifier and Type Method Description protected void
UploadNotesTask.UploadTask. realRun()
-
Uses of OsmTransferException in org.openstreetmap.josm.command
Methods in org.openstreetmap.josm.command that throw OsmTransferException Modifier and Type Method Description (package private) static void
SplitWayCommand. downloadMissingMembers(java.util.Set<OsmPrimitive> incompleteMembers)
-
Uses of OsmTransferException in org.openstreetmap.josm.data.osm
Methods in org.openstreetmap.josm.data.osm that throw OsmTransferException Modifier and Type Method Description void
ChangesetCache. refreshChangesetsFromServer()
Refreshes the changesets from the server. -
Uses of OsmTransferException in org.openstreetmap.josm.gui
Methods in org.openstreetmap.josm.gui with parameters of type OsmTransferException Modifier and Type Method Description static void
ExceptionDialogUtil. explainInternalServerError(OsmTransferException e)
Explains aOsmApiException
which was thrown because of an internal server error in the OSM API server.static void
ExceptionDialogUtil. explainNestedIllegalDataException(OsmTransferException e)
Explains aIllegalDataException
which has caused anOsmTransferException
.static void
ExceptionDialogUtil. explainNestedIOException(OsmTransferException e)
Explains aIOException
which has caused anOsmTransferException
.static void
ExceptionDialogUtil. explainNestedOfflineAccessException(OsmTransferException e)
Explains aOfflineAccessException
which has caused anOsmTransferException
.static void
ExceptionDialogUtil. explainNestedSocketException(OsmTransferException e)
Explains aSocketException
which has caused anOsmTransferException
.static void
ExceptionDialogUtil. explainNestedUnknownHostException(OsmTransferException e)
Explains aUnknownHostException
which has caused anOsmTransferException
.static void
ExceptionDialogUtil. explainOsmTransferException(OsmTransferException e)
Explains anOsmTransferException
to the user.static void
ExceptionDialogUtil. explainSecurityException(OsmTransferException e)
Explains aSecurityException
which has caused anOsmTransferException
.Methods in org.openstreetmap.josm.gui that throw OsmTransferException Modifier and Type Method Description protected abstract void
PleaseWaitRunnable. realRun()
Called in the worker thread to do the actual work. -
Uses of OsmTransferException in org.openstreetmap.josm.gui.dialogs
Methods in org.openstreetmap.josm.gui.dialogs that throw OsmTransferException Modifier and Type Method Description protected void
ValidatorDialog.FixTask. realRun()
-
Uses of OsmTransferException in org.openstreetmap.josm.gui.dialogs.relation
Methods in org.openstreetmap.josm.gui.dialogs.relation that throw OsmTransferException Modifier and Type Method Description protected void
ChildRelationBrowser.DownloadAllChildrenTask. realRun()
protected void
ChildRelationBrowser.DownloadRelationSetTask. realRun()
protected void
DownloadRelationMemberTask. realRun()
protected void
DownloadRelationTask. realRun()
protected void
RelationTree.RelationLoader. realRun()
-
Uses of OsmTransferException in org.openstreetmap.josm.gui.download
Methods in org.openstreetmap.josm.gui.download that throw OsmTransferException Modifier and Type Method Description protected void
PlaceSelection.NameQueryTask. realRun()
-
Uses of OsmTransferException in org.openstreetmap.josm.gui.history
Methods in org.openstreetmap.josm.gui.history that throw OsmTransferException Modifier and Type Method Description private void
HistoryLoadTask. loadHistory(PrimitiveId pid)
protected static HistoryDataSet
HistoryLoadTask. loadHistory(OsmServerHistoryReader reader, ProgressMonitor progressMonitor)
protected void
HistoryLoadTask. realRun()
-
Uses of OsmTransferException in org.openstreetmap.josm.gui.io
Methods in org.openstreetmap.josm.gui.io that throw OsmTransferException Modifier and Type Method Description private void
UploadPrimitivesTask. closeChangeset()
Closes the changeset on the server and locally.private void
UploadPrimitivesTask. closeChangesetIfRequired()
protected boolean
UploadPrimitivesTask. handleChangesetFullResponse()
Handles a server changeset full response.protected void
AbstractPrimitiveTask. loadIncompleteNodes()
protected void
AbstractPrimitiveTask. realRun()
protected void
CloseChangesetTask. realRun()
protected void
DownloadFromOverpassTask. realRun()
protected void
DownloadOpenChangesetsTask. realRun()
protected void
DownloadPrimitivesWithReferrersTask. realRun()
protected void
UploadLayerTask. recoverFromGoneOnServer(OsmApiPrimitiveGoneException e)
Retries to recover the upload operation from an exception which was thrown because an uploaded primitive was already deleted on the server.protected void
UploadPrimitivesTask. recoverFromGoneOnServer(OsmApiPrimitiveGoneException e, ProgressMonitor monitor)
Retries to recover the upload operation from an exception which was thrown because an uploaded primitive was already deleted on the server. -
Uses of OsmTransferException in org.openstreetmap.josm.gui.layer.geoimage
Methods in org.openstreetmap.josm.gui.layer.geoimage that throw OsmTransferException Modifier and Type Method Description protected void
WikimediaCommonsLoader. realRun()
-
Uses of OsmTransferException in org.openstreetmap.josm.gui.layer.gpx
Methods in org.openstreetmap.josm.gui.layer.gpx that throw OsmTransferException Modifier and Type Method Description protected void
DownloadWmsAlongTrackAction.PrecacheWmsTask. realRun()
-
Uses of OsmTransferException in org.openstreetmap.josm.gui.oauth
Methods in org.openstreetmap.josm.gui.oauth that throw OsmTransferException Modifier and Type Method Description protected UserInfo
TestAccessTokenTask. getUserDetails()
protected void
FullyAutomaticAuthorizationUI.FullyAutomaticAuthorisationTask. realRun()
protected void
TestAccessTokenTask. realRun()
-
Uses of OsmTransferException in org.openstreetmap.josm.gui.preferences
Methods in org.openstreetmap.josm.gui.preferences that throw OsmTransferException Modifier and Type Method Description java.util.Collection<ExtendedSourceEntry>
SourceEditor. loadAndGetAvailableSources()
Synchronously loads available sources and returns the parsed list.protected void
SourceEditor.SourceLoader. realRun()
-
Uses of OsmTransferException in org.openstreetmap.josm.gui.preferences.server
Methods in org.openstreetmap.josm.gui.preferences.server that throw OsmTransferException Modifier and Type Method Description protected void
ApiUrlTestTask. realRun()
-
Uses of OsmTransferException in org.openstreetmap.josm.io
Subclasses of OsmTransferException in org.openstreetmap.josm.io Modifier and Type Class Description class
ChangesetClosedException
A ChangesetClosedException is thrown if the server replies with a HTTP return code 409 (Conflict) with the error headerChangesetClosedException.ERROR_HEADER_PATTERN
.class
MissingOAuthAccessTokenException
Exception thrown when a valid OAuth access token was expected, but not found.class
OsmApiException
Exception thrown when a communication error occurs when accessing the OSM API.class
OsmApiInitializationException
Exception thrown when a communication error occurred with the OSM server during API initialization.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.class
OsmTransferCanceledException
Exception thrown when a communication with the OSM server has been cancelled by the user.Methods in org.openstreetmap.josm.io that throw OsmTransferException Modifier and Type Method Description protected void
OsmConnection. addAuth(HttpClient connection)
protected void
OsmConnection. addBasicAuthorizationHeader(HttpClient con)
Adds an authentication header for basic authenticationvoid
OsmApi. addCommentToChangeset(Changeset changeset, java.lang.String comment, ProgressMonitor monitor)
Adds a comment to the discussion of a closed changeset.Note
OsmApi. addCommentToNote(Note note, java.lang.String comment, ProgressMonitor monitor)
Add a comment to an existing note.protected void
OsmConnection. addOAuth20AuthorizationHeader(HttpClient connection)
Signs the connection with an OAuth authentication headerprivate void
MultiFetchServerObjectReader. checkMissing(DataSet ds, ProgressMonitor progressMonitor)
Workaround for difference in Overpass API.void
OsmApi. closeChangeset(Changeset changeset, ProgressMonitor monitor)
Closes a changeset on the server.Note
OsmApi. closeNote(Note note, java.lang.String closeMessage, ProgressMonitor monitor)
Close a note.Note
OsmApi. createNote(LatLon latlon, java.lang.String text, ProgressMonitor monitor)
Create a new note on the server.void
OsmApi. createPrimitive(IPrimitive osm, ProgressMonitor monitor)
Creates an OSM primitive on the server.void
OsmApi. deletePrimitive(OsmPrimitive osm, ProgressMonitor monitor)
Deletes an OSM primitive on the server.protected <T> T
OsmServerLocationReader. doParse(OsmServerLocationReader.Parser<T> parser, ProgressMonitor progressMonitor)
ChangesetDataSet
OsmServerChangesetReader. downloadChangeset(int id, ProgressMonitor monitor)
Downloads the content of a changesetprivate GpxData
BoundingBoxDownloader. downloadRawGps(Bounds b, ProgressMonitor progressMonitor)
private void
MultiFetchServerObjectReader. downloadRelations(ProgressMonitor progressMonitor)
Finds best way to download a set of relations.protected void
OsmApi. ensureValidChangeset()
Ensures that the current changeset can be used for uploading dataprotected MultiFetchServerObjectReader.FetchResult
MultiFetchServerObjectReader.Fetcher. fetch(ProgressMonitor progressMonitor)
fetches the requested primitives and updates the specified progress monitor.<T> T
OsmServerReader. fetchData(java.lang.String api, java.lang.String subtask, OsmServerReader.DomParser<T> parser, ProgressMonitor monitor, java.lang.String reason)
Fetches generic data from the DOM document resulting an API call.protected void
MultiFetchServerObjectReader. fetchPrimitives(java.util.Set<java.lang.Long> ids, OsmPrimitiveType type, ProgressMonitor progressMonitor)
fetches a set of ids of a givenOsmPrimitiveType
from the serverUserInfo
OsmServerUserInfoReader. fetchUserInfo(ProgressMonitor monitor)
Fetches user info, without explicit reason.UserInfo
OsmServerUserInfoReader. fetchUserInfo(ProgressMonitor monitor, java.lang.String reason)
Fetches user info, with an explicit reason.java.util.Map<java.lang.String,java.lang.String>
OsmServerUserPreferencesReader. fetchUserPreferences(ProgressMonitor monitor)
Fetches user preferences, without explicit reason.java.util.Map<java.lang.String,java.lang.String>
OsmServerUserPreferencesReader. fetchUserPreferences(ProgressMonitor monitor, java.lang.String reason)
Fetches user info, with an explicit reason.protected java.io.InputStream
OsmServerChangesetReader. getChangesetInputStream(long id, boolean includeDiscussion, ProgressMonitor monitor)
protected java.io.InputStream
OsmServerReader. getInputStream(java.lang.String urlStr, ProgressMonitor progressMonitor)
Open a connection to the given url and return a reader on the input stream from that connection.protected java.io.InputStream
OsmServerReader. getInputStream(java.lang.String urlStr, ProgressMonitor progressMonitor, java.lang.String reason)
Open a connection to the given url and return a reader on the input stream from that connection.protected java.io.InputStream
OsmServerReader. getInputStreamRaw(java.lang.String urlStr, ProgressMonitor progressMonitor)
Open a connection to the given url and return a reader on the input stream from that connection.protected java.io.InputStream
OsmServerReader. getInputStreamRaw(java.lang.String urlStr, ProgressMonitor progressMonitor, java.lang.String reason)
Open a connection to the given url and return a reader on the input stream from that connection.protected java.io.InputStream
OsmServerReader. getInputStreamRaw(java.lang.String urlStr, ProgressMonitor progressMonitor, java.lang.String reason, boolean uncompressAccordingToContentDisposition)
Open a connection to the given url (if HTTP, trough a GET request) and return a reader on the input stream from that connection.protected java.io.InputStream
OsmServerReader. getInputStreamRaw(java.lang.String urlStr, ProgressMonitor progressMonitor, java.lang.String reason, boolean uncompressAccordingToContentDisposition, java.lang.String httpMethod, byte[] requestBody)
Open a connection to the given url (if HTTP, with the specified method) and return a reader on the input stream from that connection.protected java.io.InputStream
OverpassDownloadReader. getInputStreamRaw(java.lang.String urlStr, ProgressMonitor progressMonitor, java.lang.String reason, boolean uncompressAccordingToContentDisposition)
private DataSet
OsmServerBackreferenceReader. getReferringPrimitives(ProgressMonitor progressMonitor, java.lang.String type, java.lang.String message)
protected DataSet
OsmServerBackreferenceReader. getReferringRelations(ProgressMonitor progressMonitor)
Reads referring relations from the API server and replies them in aDataSet
protected DataSet
OsmServerBackreferenceReader. getReferringWays(ProgressMonitor progressMonitor)
Reads referring ways from the API server and replies them in aDataSet
private void
OsmApi. individualPrimitiveModification(java.lang.String method, java.lang.String verb, IPrimitive osm, ProgressMonitor monitor, java.util.function.Consumer<java.lang.String> consumer, java.util.function.UnaryOperator<java.lang.String> errHandler)
(package private) void
OsmServerWriter. makeApiRequest(OsmPrimitive osm, ProgressMonitor progressMonitor)
void
OsmApi. modifyPrimitive(IPrimitive osm, ProgressMonitor monitor)
Modifies an OSM primitive on the server.protected MultiFetchServerObjectReader.FetchResult
MultiFetchServerObjectReader.Fetcher. multiGetIdPackage(OsmPrimitiveType type, java.util.Set<java.lang.Long> pkg, ProgressMonitor progressMonitor)
invokes a Multi Get for a set of ids and a givenOsmPrimitiveType
.void
OsmApi. openChangeset(Changeset changeset, ProgressMonitor progressMonitor)
Creates a new changeset based on the keys inchangeset
.DataSet
GeoJSONServerReader.GeoJsonParser. parse()
GpxData
OsmServerLocationReader.GpxParser. parse()
java.util.List<Note>
OsmServerLocationReader.NoteParser. parse()
DataSet
OsmServerLocationReader.OsmChangeParser. parse()
DataSet
OsmServerLocationReader.OsmParser. parse()
abstract T
OsmServerLocationReader.Parser. parse()
HistoryDataSet
OsmServerHistoryReader. parseHistory(ProgressMonitor progressMonitor)
Fetches the history from the OSM API and parses itjava.util.List<Note>
BoundingBoxDownloader. parseNotes(int noteLimit, int daysClosed, ProgressMonitor progressMonitor)
java.util.List<Note>
OsmServerReader. parseNotes(int noteLimit, int daysClosed, ProgressMonitor progressMonitor)
Downloads notes from the API, given API limit parametersDataSet
BoundingBoxDownloader. parseOsm(ProgressMonitor progressMonitor)
DataSet
GeoJSONServerReader. parseOsm(ProgressMonitor progressMonitor)
DataSet
GeoJSONServerReader. parseOsm(ProgressMonitor progressMonitor, Compression compression)
DataSet
MultiFetchServerObjectReader.Fetcher. parseOsm(ProgressMonitor progressMonitor)
DataSet
MultiFetchServerObjectReader. parseOsm(ProgressMonitor progressMonitor)
invokes one or more Multi Gets to fetch theOsmPrimitive
s and replies the dataset of retrieved primitives.DataSet
OsmServerBackreferenceReader. parseOsm(ProgressMonitor progressMonitor)
Reads the referring primitives from the OSM server, parses them and replies them asDataSet
DataSet
OsmServerChangesetReader. parseOsm(ProgressMonitor progressMonitor)
don't use - not implemented!DataSet
OsmServerHistoryReader. parseOsm(ProgressMonitor progressMonitor)
don't use - not implemented!DataSet
OsmServerLocationReader. parseOsm(ProgressMonitor progressMonitor)
DataSet
OsmServerLocationReader. parseOsm(ProgressMonitor progressMonitor, Compression compression)
DataSet
OsmServerObjectReader. parseOsm(ProgressMonitor progressMonitor)
Downloads and parses the data.abstract DataSet
OsmServerReader. parseOsm(ProgressMonitor progressMonitor)
Download OSM files from somewhereDataSet
OsmServerReader. parseOsm(ProgressMonitor progressMonitor, Compression compression)
Download compressed OSM files from somewhereDataSet
OsmServerUserInfoReader. parseOsm(ProgressMonitor progressMonitor)
DataSet
OsmServerUserPreferencesReader. parseOsm(ProgressMonitor progressMonitor)
DataSet
OverpassDownloadReader. parseOsm(ProgressMonitor progressMonitor)
DataSet
OsmServerLocationReader. parseOsmChange(ProgressMonitor progressMonitor)
DataSet
OsmServerLocationReader. parseOsmChange(ProgressMonitor progressMonitor, Compression compression)
DataSet
OsmServerReader. parseOsmChange(ProgressMonitor progressMonitor)
Download OSM Change uncompressed files from somewhereDataSet
OsmServerReader. parseOsmChange(ProgressMonitor progressMonitor, Compression compression)
Download OSM Change compressed files from somewhereGpxData
BoundingBoxDownloader. parseRawGps(ProgressMonitor progressMonitor)
GpxData
OsmServerLocationReader. parseRawGps(ProgressMonitor progressMonitor)
GpxData
OsmServerLocationReader. parseRawGps(ProgressMonitor progressMonitor, Compression compression)
GpxData
OsmServerReader. parseRawGps(ProgressMonitor progressMonitor)
Retrieve raw gps waypoints from the server API.GpxData
OsmServerReader. parseRawGps(ProgressMonitor progressMonitor, Compression compression)
Retrieve compressed GPX files from somewhere.java.util.List<Note>
OsmServerLocationReader. parseRawNotes(ProgressMonitor progressMonitor)
java.util.List<Note>
OsmServerLocationReader. parseRawNotes(ProgressMonitor progressMonitor, Compression compression)
java.util.List<Note>
OsmServerReader. parseRawNotes(ProgressMonitor progressMonitor)
Downloads notes from a given raw URL.java.util.List<Note>
OsmServerReader. parseRawNotes(ProgressMonitor progressMonitor, Compression compression)
Download notes from a URL that contains a compressed notes dump fileprivate static Note
OsmApi. parseSingleNote(java.lang.String xml)
Method for parsing API responses for operations on individual notesjava.util.List<Changeset>
OsmServerChangesetReader. queryChangesets(ChangesetQuery query, ProgressMonitor monitor)
Queries a listChangeset
OsmServerChangesetReader. readChangeset(long id, boolean includeDiscussion, ProgressMonitor monitor)
Reads the changeset with idid
from the server.java.util.List<Changeset>
OsmServerChangesetReader. readChangesets(java.util.Collection<java.lang.Integer> ids, boolean includeDiscussion, ProgressMonitor monitor)
Reads the changesets with idids
from the server.protected DataSet
OsmServerBackreferenceReader. readIncompletePrimitives(DataSet ds, ProgressMonitor progressMonitor)
Scans a dataset for incomplete primitives.Note
OsmApi. reopenNote(Note note, java.lang.String reactivateMessage, ProgressMonitor monitor)
Reopen a closed noteprotected java.lang.String
OsmConnection. retrieveBasicAuthorizationLogin(HttpClient con)
Retrieves login from basic authentication header, if set.protected java.lang.String
OsmApi. sendPostRequest(java.lang.String urlSuffix, java.lang.String requestBody, ProgressMonitor monitor)
protected java.lang.String
OsmApi. sendPutRequest(java.lang.String urlSuffix, java.lang.String requestBody, ProgressMonitor monitor)
protected java.lang.String
OsmApi. sendRequest(java.lang.String requestMethod, java.lang.String urlSuffix, java.lang.String requestBody, ProgressMonitor monitor)
protected java.lang.String
OsmApi. sendRequest(java.lang.String requestMethod, java.lang.String urlSuffix, java.lang.String requestBody, ProgressMonitor monitor, boolean doAuthenticate, boolean fastFail)
protected java.lang.String
OsmApi. sendRequest(java.lang.String requestMethod, java.lang.String urlSuffix, java.lang.String requestBody, ProgressMonitor monitor, java.lang.String contentType, boolean doAuthenticate, boolean fastFail)
Generic method for sending requests to the OSM API.protected DataSet
MultiFetchServerObjectReader.Fetcher. singleGetId(OsmPrimitiveType type, long id, ProgressMonitor progressMonitor)
invokes a Multi Get for a single id and a givenOsmPrimitiveType
.protected MultiFetchServerObjectReader.FetchResult
MultiFetchServerObjectReader.Fetcher. singleGetIdPackage(OsmPrimitiveType type, java.util.Set<java.lang.Long> pkg, ProgressMonitor progressMonitor)
invokes a sequence of Multi Gets for individual ids in a set of ids and a givenOsmPrimitiveType
.void
OsmApi. updateChangeset(Changeset changeset, ProgressMonitor monitor)
Updates a changeset with the keys inchangesetUpdate
.protected byte[]
OsmApi.CapabilitiesCache. updateData()
protected void
OsmServerWriter. uploadChangesAsDiffUpload(java.util.Collection<? extends OsmPrimitive> primitives, ProgressMonitor progressMonitor)
Upload all changes in one diff uploadprotected void
OsmServerWriter. uploadChangesInChunks(java.util.Collection<? extends OsmPrimitive> primitives, ProgressMonitor progressMonitor, int chunkSize)
Upload all changes in one diff uploadprotected void
OsmServerWriter. uploadChangesIndividually(java.util.Collection<? extends OsmPrimitive> primitives, ProgressMonitor progressMonitor)
Uploads the changes individually.java.util.Collection<OsmPrimitive>
OsmApi. uploadDiff(java.util.Collection<? extends OsmPrimitive> list, ProgressMonitor monitor)
Uploads a list of changes in "diff" form to the server.void
OsmServerWriter. uploadOsm(UploadStrategySpecification strategy, java.util.Collection<? extends OsmPrimitive> primitives, Changeset changeset, ProgressMonitor monitor)
Send the dataset to the server. -
Uses of OsmTransferException in org.openstreetmap.josm.plugins
Methods in org.openstreetmap.josm.plugins that throw OsmTransferException Modifier and Type Method Description protected void
ReadLocalPluginInformationTask. realRun()
protected void
ReadRemotePluginInformationTask. realRun()
-
Uses of OsmTransferException in org.openstreetmap.josm.tools
Methods in org.openstreetmap.josm.tools with parameters of type OsmTransferException Modifier and Type Method Description static java.lang.String
ExceptionUtil. explainInternalServerError(OsmTransferException e)
Explains aOsmApiException
which was thrown because of an internal server error in the OSM API server.static java.lang.String
ExceptionUtil. explainNestedIllegalDataException(OsmTransferException e)
Explains aIllegalDataException
which has caused anOsmTransferException
.static java.lang.String
ExceptionUtil. explainNestedIOException(OsmTransferException e)
Explains aIOException
which has caused anOsmTransferException
.static java.lang.String
ExceptionUtil. explainNestedSocketException(OsmTransferException e)
Explains aSocketException
which has caused anOsmTransferException
.static java.lang.String
ExceptionUtil. explainNestedUnknownHostException(OsmTransferException e)
Explains aUnknownHostException
which has caused anOsmTransferException
.static java.lang.String
ExceptionUtil. explainOfflineAccessException(OsmTransferException e)
Explains aOfflineAccessException
which has caused anOsmTransferException
.static java.lang.String
ExceptionUtil. explainOsmTransferException(OsmTransferException e)
Explains anOsmTransferException
to the user.static java.lang.String
ExceptionUtil. explainSecurityException(OsmTransferException e)
Explains aSecurityException
which has caused anOsmTransferException
.
-