y.base
Class WrongGraphStructure
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
y.base.WrongGraphStructure
- All Implemented Interfaces:
- Serializable
public class WrongGraphStructure
- extends IllegalArgumentException
Exception thrown when a graph-structural precondition is violated.
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.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
WrongGraphStructure
public WrongGraphStructure(String msg)
- Constructs a WrongGraphStructure exception with the specified message.