Class ChangesetClosedException

  • All Implemented Interfaces:
    Serializable

    public class ChangesetClosedException
    extends OsmTransferException
    A ChangesetClosedException is thrown if the server replies with a HTTP return code 409 (Conflict) with the error header ERROR_HEADER_PATTERN. Depending on the context the exception is thrown in we have to react differently.
    • if it is thrown when we try to update a changeset, the changeset was most likely closed before, either explicitly by the user or because of a timeout
    • if it is thrown when we try to upload data to the changeset, the changeset was most likely closed because we reached the servers capability limit for the size of a changeset.
    See Also:
    Serialized Form