nz.ac.waikato.jdsl.graph.api
Class InvalidVertexException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by nz.ac.waikato.jdsl.graph.api.GraphException
                  extended by nz.ac.waikato.jdsl.graph.api.InvalidVertexException
All Implemented Interfaces:
java.io.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 nz.ac.waikato.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, Serialized Form

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

InvalidVertexException

public InvalidVertexException(java.lang.String message)

InvalidVertexException

public InvalidVertexException(java.lang.String message,
                              java.lang.Throwable cause)

InvalidVertexException

public InvalidVertexException(java.lang.Throwable cause)


Copyright © 2009 ModelJUnit Project. All Rights Reserved.