Package com.aoindustries.util.graph
Class CycleException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aoindustries.util.graph.GraphException
-
- com.aoindustries.util.graph.CycleException
-
- All Implemented Interfaces:
Serializable
public class CycleException extends GraphException
Thrown when a cycle has been detected in an acyclic graph.- Author:
- AO Industries, Inc.
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<?>getVertices()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 Detail
-
getVertices
public List<?> getVertices()
Gets all vertices that are part of the cycle in the order they create the cycle.- Returns:
- No defensive copy
-
-