Package org.openstreetmap.josm.data.osm
Class CyclicUploadDependencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openstreetmap.josm.data.osm.CyclicUploadDependencyException
- All Implemented Interfaces:
Serializable
This is an exception that is thrown if the user attempts to upload a list of relations with a cyclic dependency in them
- Since:
- 12673 (moved from
action.uploadpackage) - See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
cycle
-
-
Constructor Details
-
CyclicUploadDependencyException
Creates a newCyclicUploadDependencyException- Parameters:
cycle- The cycle that was found
-
-
Method Details
-
formatRelation
-
getMessage
- Overrides:
getMessagein classThrowable
-
getCyclicUploadDependency
Gets the cycle- Returns:
- The cycle that was detected
-