Search this API

y.base
Class WrongGraphStructure

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by y.base.WrongGraphStructure
All Implemented Interfaces:
java.io.Serializable

public class WrongGraphStructure
extends java.lang.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
 

Constructor Summary
WrongGraphStructure(java.lang.String msg)
          Constructs a WrongGraphStructure exception with the specified message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WrongGraphStructure

public WrongGraphStructure(java.lang.String msg)
Constructs a WrongGraphStructure exception with the specified message.


© Copyright 2000-2018,
yWorks GmbH.
All rights reserved.