Uses of Class
org.openstreetmap.josm.io.OsmTransferException

Packages that use OsmTransferException
org.openstreetmap.josm.actions   
org.openstreetmap.josm.actions.downloadtasks   
org.openstreetmap.josm.gui   
org.openstreetmap.josm.gui.dialogs   
org.openstreetmap.josm.gui.dialogs.changeset   
org.openstreetmap.josm.gui.dialogs.changeset.query   
org.openstreetmap.josm.gui.dialogs.relation   
org.openstreetmap.josm.gui.download   
org.openstreetmap.josm.gui.history   
org.openstreetmap.josm.gui.io   
org.openstreetmap.josm.gui.oauth   
org.openstreetmap.josm.gui.preferences   
org.openstreetmap.josm.gui.preferences.server   
org.openstreetmap.josm.io   
org.openstreetmap.josm.io.imagery   
org.openstreetmap.josm.plugins   
org.openstreetmap.josm.tools   
 

Uses of OsmTransferException in org.openstreetmap.josm.actions
 

Methods in org.openstreetmap.josm.actions that throw OsmTransferException
protected  UserInfo CloseChangesetAction.DownloadOpenChangesetsTask.fetchUserInfo()
          Fetch the user info from the server.
protected  void UploadSelectionAction.DeletedParentsChecker.realRun()
           
protected  void CloseChangesetAction.DownloadOpenChangesetsTask.realRun()
           
protected  void OpenFileAction.OpenFileTask.realRun()
           
protected  void ValidateAction.ValidationTask.realRun()
           
 

Uses of OsmTransferException in org.openstreetmap.josm.actions.downloadtasks
 

Methods in org.openstreetmap.josm.actions.downloadtasks that throw OsmTransferException
protected  void DownloadReferrersTask.downloadParents(long id, OsmPrimitiveType type, ProgressMonitor progressMonitor)
           
protected  DataSet DownloadOsmChangeTask.DownloadTask.parseDataSet()
           
protected  DataSet DownloadOsmTask.DownloadTask.parseDataSet()
           
protected  void DownloadReferrersTask.realRun()
           
 void DownloadGpsTask.DownloadTask.realRun()
           
 void DownloadOsmTask.DownloadTask.realRun()
           
 

Uses of OsmTransferException in org.openstreetmap.josm.gui
 

Methods in org.openstreetmap.josm.gui with parameters of type OsmTransferException
static void ExceptionDialogUtil.explainInternalServerError(OsmTransferException e)
          Explains a OsmApiException which was thrown because of an internal server error in the OSM API server.
static void ExceptionDialogUtil.explainNestedIllegalDataException(OsmTransferException e)
          Explains a IllegalDataException which has caused an OsmTransferException.
static void ExceptionDialogUtil.explainNestedIOException(OsmTransferException e)
          Explains a IOException which has caused an OsmTransferException.
static void ExceptionDialogUtil.explainNestedSocketException(OsmTransferException e)
          Explains a SocketException which has caused an OsmTransferException.
static void ExceptionDialogUtil.explainNestedUnkonwnHostException(OsmTransferException e)
          Explains a UnknownHostException which has caused an OsmTransferException.
static void ExceptionDialogUtil.explainOsmTransferException(OsmTransferException e)
          Explains an OsmTransferException to the user.
static void ExceptionDialogUtil.explainSecurityException(OsmTransferException e)
          Explains a SecurityException which has caused an OsmTransferException.
 

Methods in org.openstreetmap.josm.gui that throw OsmTransferException
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
protected  void ValidatorDialog.FixTask.realRun()
           
 

Uses of OsmTransferException in org.openstreetmap.josm.gui.dialogs.changeset
 

Methods in org.openstreetmap.josm.gui.dialogs.changeset that throw OsmTransferException
protected  void ChangesetContentDownloadTask.downloadChangeset(int changesetId)
          Downloads the changeset with id changesetId (only "header" information, no content)
protected  void ChangesetHeaderDownloadTask.realRun()
           
protected  void ChangesetContentDownloadTask.realRun()
           
 

Uses of OsmTransferException in org.openstreetmap.josm.gui.dialogs.changeset.query
 

Methods in org.openstreetmap.josm.gui.dialogs.changeset.query that throw OsmTransferException
protected  void ChangesetQueryTask.fullyIdentifyCurrentUser()
          Tries to fully identify the current JOSM user
protected  void ChangesetQueryTask.realRun()
           
 

Uses of OsmTransferException in org.openstreetmap.josm.gui.dialogs.relation
 

Methods in org.openstreetmap.josm.gui.dialogs.relation that throw OsmTransferException
protected  void DownloadRelationTask.realRun()
           
protected  void DownloadRelationMemberTask.realRun()
           
protected  void ChildRelationBrowser.DownloadAllChildrenTask.realRun()
           
protected  void ChildRelationBrowser.DownloadRelationSetTask.realRun()
           
protected  void RelationTree.RelationLoader.realRun()
           
protected  void ParentRelationLoadingTask.realRun()
           
 

Uses of OsmTransferException in org.openstreetmap.josm.gui.download
 

Methods in org.openstreetmap.josm.gui.download that throw OsmTransferException
protected  void PlaceSelection.NameQueryTask.realRun()
           
 

Uses of OsmTransferException in org.openstreetmap.josm.gui.history
 

Methods in org.openstreetmap.josm.gui.history that throw OsmTransferException
protected  void HistoryLoadTask.realRun()
           
 

Uses of OsmTransferException in org.openstreetmap.josm.gui.io
 

Methods in org.openstreetmap.josm.gui.io that throw OsmTransferException
protected  void CloseChangesetTask.realRun()
           
protected  void DownloadOpenChangesetsTask.realRun()
           
protected  void UpdatePrimitivesTask.realRun()
           
protected  void DownloadPrimitivesTask.realRun()
           
protected  void UploadLayerTask.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.
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.oauth
 

Methods in org.openstreetmap.josm.gui.oauth that throw OsmTransferException
protected  UserInfo TestAccessTokenTask.getUserDetails()
           
protected  void FullyAutomaticAuthorizationUI.FullyAutomaticAuthorisationTask.realRun()
           
protected  void RetrieveRequestTokenTask.realRun()
           
protected  void TestAccessTokenTask.realRun()
           
protected  void RetrieveAccessTokenTask.realRun()
           
 

Uses of OsmTransferException in org.openstreetmap.josm.gui.preferences
 

Methods in org.openstreetmap.josm.gui.preferences that throw OsmTransferException
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
protected  void ApiUrlTestTask.realRun()
           
 

Uses of OsmTransferException in org.openstreetmap.josm.io
 

Subclasses of OsmTransferException in org.openstreetmap.josm.io
 class ChangesetClosedException
          A ChangesetClosedException is thrown if the server replies with a HTTP return code 409 (Conflict) with the error header ChangesetClosedException.ERROR_HEADER_PATTERN.
 class MissingOAuthAccessTokenException
           
 class OsmApiException
          Exception thrown when a communication error occurs when accessing the OSM API.
 class OsmApiInitializationException
          Exception thrown when a communication error occured 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
protected  void OsmConnection.addAuth(java.net.HttpURLConnection connection)
           
protected  void OsmConnection.addBasicAuthorizationHeader(java.net.HttpURLConnection con)
          Adds an authentication header for basic authentication
protected  void OsmConnection.addOAuthAuthorizationHeader(java.net.HttpURLConnection connection)
          Signs the connection with an OAuth authentication header
 void OsmApi.closeChangeset(Changeset changeset, ProgressMonitor monitor)
          Closes a changeset on the server.
 void OsmApi.createPrimitive(IPrimitive osm, ProgressMonitor monitor)
          Creates an OSM primitive on the server.
 void OsmApi.deletePrimitive(IPrimitive 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 changeset
private  GpxData BoundingBoxDownloader.downloadRawGps(java.lang.String url, ProgressMonitor progressMonitor)
           
protected  void OsmApi.ensureValidChangeset()
          Ensures that the current changeset can be used for uploading data
protected  MultiFetchServerObjectReader.FetchResult MultiFetchServerObjectReader.Fetcher.fetch(ProgressMonitor progressMonitor)
          fetches the requested primitives and updates the specified progress monitor.
protected  void MultiFetchServerObjectReader.fetchPrimitives(java.util.Set<java.lang.Long> ids, OsmPrimitiveType type, ProgressMonitor progressMonitor)
          fetches a set of ids of a given OsmPrimitiveType from the server
 UserInfo OsmServerUserInfoReader.fetchUserInfo(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.getInputStreamRaw(java.lang.String urlStr, ProgressMonitor progressMonitor)
           
protected  DataSet OsmServerBackreferenceReader.getReferringRelations(ProgressMonitor progressMonitor)
          Reads referring relations from the API server and replies them in a DataSet
protected  DataSet OsmServerBackreferenceReader.getReferringWays(ProgressMonitor progressMonitor)
          Reads referring ways from the API server and replies them in a DataSet
(package private)  void OsmServerWriter.makeApiRequest(IPrimitive 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 given OsmPrimitiveType.
 void OsmApi.openChangeset(Changeset changeset, ProgressMonitor progressMonitor)
          Creates a new changeset based on the keys in changeset.
abstract  T OsmServerLocationReader.Parser.parse()
           
 HistoryDataSet OsmServerHistoryReader.parseHistory(ProgressMonitor progressMonitor)
          Fetches the history from the OSM API and parses it
 DataSet BoundingBoxDownloader.parseOsm(ProgressMonitor progressMonitor)
          Read the data from the osm server address.
 DataSet OsmServerObjectReader.parseOsm(ProgressMonitor progressMonitor)
          Downloads and parses the data.
 DataSet MultiFetchServerObjectReader.parseOsm(ProgressMonitor progressMonitor)
          invokes one or more Multi Gets to fetch the OsmPrimitives and replies the dataset of retrieved primitives.
 DataSet MultiFetchServerObjectReader.Fetcher.parseOsm(ProgressMonitor progressMonitor)
           
 DataSet OsmServerHistoryReader.parseOsm(ProgressMonitor progressMonitor)
          don't use - not implemented!
abstract  DataSet OsmServerReader.parseOsm(ProgressMonitor progressMonitor)
           
 DataSet OsmServerChangesetReader.parseOsm(ProgressMonitor progressMonitor)
          don't use - not implemented!
 DataSet OsmServerUserInfoReader.parseOsm(ProgressMonitor progressMonitor)
           
 DataSet OsmServerBackreferenceReader.parseOsm(ProgressMonitor progressMonitor)
          Reads the referring primitives from the OSM server, parses them and replies them as DataSet
 DataSet OsmServerLocationReader.parseOsm(ProgressMonitor progressMonitor)
          Method to download OSM files from somewhere
 DataSet OsmServerReader.parseOsmBzip2(ProgressMonitor progressMonitor)
           
 DataSet OsmServerLocationReader.parseOsmBzip2(ProgressMonitor progressMonitor)
          Method to download BZip2-compressed OSM files from somewhere
 DataSet OsmServerReader.parseOsmChange(ProgressMonitor progressMonitor)
           
 DataSet OsmServerLocationReader.parseOsmChange(ProgressMonitor progressMonitor)
           
 DataSet OsmServerReader.parseOsmChangeBzip2(ProgressMonitor progressMonitor)
           
 DataSet OsmServerLocationReader.parseOsmChangeBzip2(ProgressMonitor progressMonitor)
          Method to download BZip2-compressed OSM Change files from somewhere
 DataSet OsmServerReader.parseOsmChangeGzip(ProgressMonitor progressMonitor)
           
 DataSet OsmServerLocationReader.parseOsmChangeGzip(ProgressMonitor progressMonitor)
          Method to download GZip-compressed OSM Change files from somewhere
 DataSet OsmServerReader.parseOsmGzip(ProgressMonitor progressMonitor)
           
 DataSet OsmServerLocationReader.parseOsmGzip(ProgressMonitor progressMonitor)
          Method to download GZip-compressed OSM files from somewhere
 GpxData BoundingBoxDownloader.parseRawGps(ProgressMonitor progressMonitor)
          Retrieve raw gps waypoints from the server API.
 GpxData OsmServerReader.parseRawGps(ProgressMonitor progressMonitor)
           
 GpxData OsmServerLocationReader.parseRawGps(ProgressMonitor progressMonitor)
           
 java.util.List<Changeset> OsmServerChangesetReader.queryChangesets(ChangesetQuery query, ProgressMonitor monitor)
          Queries a list
 Changeset OsmServerChangesetReader.readChangeset(long id, ProgressMonitor monitor)
          Reads the changeset with id id from the server
 java.util.List<Changeset> OsmServerChangesetReader.readChangesets(java.util.Collection<java.lang.Integer> ids, ProgressMonitor monitor)
          Reads the changeset with id id from the server
protected  DataSet OsmServerBackreferenceReader.readIncompletePrimitives(DataSet ds, ProgressMonitor progressMonitor)
          Scans a dataset for incomplete primitives.
private  java.lang.String OsmApi.sendRequest(java.lang.String requestMethod, java.lang.String urlSuffix, java.lang.String requestBody, ProgressMonitor monitor)
           
private  java.lang.String OsmApi.sendRequest(java.lang.String requestMethod, java.lang.String urlSuffix, java.lang.String requestBody, ProgressMonitor monitor, 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 given OsmPrimitiveType.
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 given OsmPrimitiveType.
 void OsmApi.updateChangeset(Changeset changeset, ProgressMonitor monitor)
          Updates a changeset with the keys in changesetUpdate.
protected  byte[] OsmApi.CapabilitiesCache.updateData()
           
protected  void OsmServerWriter.uploadChangesAsDiffUpload(java.util.Collection<? extends IPrimitive> primitives, ProgressMonitor progressMonitor)
          Upload all changes in one diff upload
protected  void OsmServerWriter.uploadChangesInChunks(java.util.Collection<? extends IPrimitive> primitives, ProgressMonitor progressMonitor, int chunkSize)
          Upload all changes in one diff upload
protected  void OsmServerWriter.uploadChangesIndividually(java.util.Collection<? extends IPrimitive> primitives, ProgressMonitor progressMonitor)
          Uploads the changes individually.
 java.util.Collection<IPrimitive> OsmApi.uploadDiff(java.util.Collection<? extends IPrimitive> list, ProgressMonitor monitor)
          Uploads a list of changes in "diff" form to the server.
 void OsmServerWriter.uploadOsm(UploadStrategySpecification strategy, java.util.Collection<? extends IPrimitive> primitives, Changeset changeset, ProgressMonitor monitor)
          Send the dataset to the server.
 

Constructors in org.openstreetmap.josm.io that throw OsmTransferException
ProgressInputStream(java.net.URLConnection con, ProgressMonitor progressMonitor)
           
 

Uses of OsmTransferException in org.openstreetmap.josm.io.imagery
 

Methods in org.openstreetmap.josm.io.imagery that throw OsmTransferException
protected  java.awt.image.BufferedImage WMSGrabber.grab(WMSRequest request, java.net.URL url, int attempt)
           
 

Uses of OsmTransferException in org.openstreetmap.josm.plugins
 

Methods in org.openstreetmap.josm.plugins that throw OsmTransferException
protected  void ReadRemotePluginInformationTask.realRun()
           
protected  void ReadLocalPluginInformationTask.realRun()
           
 

Uses of OsmTransferException in org.openstreetmap.josm.tools
 

Methods in org.openstreetmap.josm.tools with parameters of type OsmTransferException
static java.lang.String ExceptionUtil.explainInternalServerError(OsmTransferException e)
          Explains a OsmApiException which was thrown because of an internal server error in the OSM API server..
static java.lang.String ExceptionUtil.explainNestedIllegalDataException(OsmTransferException e)
          Explains a IllegalDataException which has caused an OsmTransferException.
static java.lang.String ExceptionUtil.explainNestedIOException(OsmTransferException e)
          Explains a IOException which has caused an OsmTransferException.
static java.lang.String ExceptionUtil.explainNestedSocketException(OsmTransferException e)
          Explains a SocketException which has caused an OsmTransferException.
static java.lang.String ExceptionUtil.explainNestedUnknownHostException(OsmTransferException e)
          Explains a UnknownHostException which has caused an OsmTransferException.
static java.lang.String ExceptionUtil.explainOsmTransferException(OsmTransferException e)
          Explains an OsmTransferException to the user.
static java.lang.String ExceptionUtil.explainSecurityException(OsmTransferException e)
          Explains a SecurityException which has caused an OsmTransferException.
 



JOSM