goldman.graph
Class DisconnectedGraphException
java.lang.Object
java.lang.Throwable
java.lang.Exception
goldman.graph.DisconnectedGraphException
- All Implemented Interfaces:
- Serializable
public class DisconnectedGraphException
- extends Exception
The DisconnectedGraphException
is thrown when a graph algorithm that
should only be applied on a connected graph (e.g., a spanning tree algorithm) is
applied to a graph that is composed of more than one connected component.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DisconnectedGraphException
public DisconnectedGraphException()
DisconnectedGraphException
public DisconnectedGraphException(String msg)