Changeset 12364 in josm


Ignore:
Timestamp:
2017-06-09T19:51:54+02:00 (7 years ago)
Author:
michael2402
Message:

Javadoc: CyclicUploadDependencyException

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/upload/CyclicUploadDependencyException.java

    r8856 r12364  
    1010import org.openstreetmap.josm.data.osm.Relation;
    1111
     12/**
     13 * This is an exception that is thrown if the user attempts to upload a list of relations with a cyclic dependency in them
     14 */
    1215public class CyclicUploadDependencyException extends Exception {
    1316    private final Stack<Relation> cycle;
    1417
     18    /**
     19     * Creates a new {@link CyclicUploadDependencyException}
     20     * @param cycle The cycle that was found
     21     */
    1522    public CyclicUploadDependencyException(Stack<Relation> cycle) {
    1623        this.cycle = cycle;
     
    4451    }
    4552
     53    /**
     54     * Gets the cycle
     55     * @return The cycle that was detected
     56     */
    4657    public List<Relation> getCyclicUploadDependency() {
    4758        return new ArrayList<>(cycle);
Note: See TracChangeset for help on using the changeset viewer.