public class InvalidGraphStructureException extends IllegalArgumentException
Some graph algorithms make only sense on specially structured graphs, like, e.g., trees, DAGs (short for directed acyclic graph), or planar graphs. Methods that detect graph-structural mismatch will throw this exception then.
Constructor and Description |
---|
InvalidGraphStructureException(String msg)
Constructs a WrongGraphStructure exception with the specified message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidGraphStructureException(String msg)