Packagecom.yworks.yfiles.base
Classpublic class InvalidGraphStructureException
InheritanceInvalidGraphStructureException Inheritance IllegalArgumentException Inheritance Error

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.



Public Methods
 MethodDefined By
  
Constructs a InvalidGraphStructureException with the specified message.
InvalidGraphStructureException
  
[static] Constructs a InvalidGraphStructureException with the specified message.
InvalidGraphStructureException
Constructor Detail
InvalidGraphStructureException()Constructor
public function InvalidGraphStructureException(msg:String)

Constructs a InvalidGraphStructureException with the specified message.

Parameters
msg:String
Method Detail
newInvalidGraphStructureException()method
public static function newInvalidGraphStructureException(msg:String):InvalidGraphStructureException

Constructs a InvalidGraphStructureException with the specified message.

Parameters

msg:String

Returns
InvalidGraphStructureException