jdsl.graph.api
Class InvalidEdgeException

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

public class InvalidEdgeException
extends GraphException

An object of this class gets thrown when topological information related to Edges is somehow incorrect. Note that this exception is not intended to replace the jdsl.core.api.InvalidAccessorException, which covers cases where the edge passed to a function is null, or of a different implementation class, or from a different container.

For instance, an InvalidEdgeException would be thrown from reverseDirection(Edge) if the edge passed in was undirected.

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

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

InvalidEdgeException

public InvalidEdgeException(String message)

InvalidEdgeException

public InvalidEdgeException(String message,
                            Throwable cause)

InvalidEdgeException

public InvalidEdgeException(Throwable cause)