java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aoapps.hodgepodge.graph.GraphException
com.aoapps.hodgepodge.graph.CycleException
- All Implemented Interfaces:
Serializable
Thrown when a cycle has been detected in an acyclic graph.
- Author:
- AO Industries, Inc.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionList
<?> Gets all vertices that are part of the cycle in the order they create the cycle.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getVertices
Gets all vertices that are part of the cycle in the order they create the cycle.- Returns:
- No defensive copy
-