jdsl.graph.api
Class InvalidVertexException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjdsl.graph.api.GraphException
                  extended byjdsl.graph.api.InvalidVertexException
All Implemented Interfaces:
Serializable

public class InvalidVertexException
extends GraphException

An object of this class gets thrown when topological information related to vertices is incorrect. Note that this exception is not intended to replace the jdsl.core.api.InvalidAccessorException, which covers cases where the vertex passed to a function is null, or of a different implementation class, or from a different container. For example, an InvalidVertexException is thrown from InspectableGraph.opposite(v,e) when v is not an endpoint of e.

Version:
JDSL 2.1.1
Author:
David Ellis, based on a previous version by Benoit Hudson
See Also:
Vertex

Constructor Summary
InvalidVertexException(String message)
           
InvalidVertexException(String message, Throwable cause)
           
InvalidVertexException(Throwable cause)
           
 
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

InvalidVertexException

public InvalidVertexException(String message)

InvalidVertexException

public InvalidVertexException(String message,
                              Throwable cause)

InvalidVertexException

public InvalidVertexException(Throwable cause)