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

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.InvalidEdgeException
All Implemented Interfaces:
java.io.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 nz.ac.waikato.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, Serialized Form

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

InvalidEdgeException

public InvalidEdgeException(java.lang.String message)

InvalidEdgeException

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

InvalidEdgeException

public InvalidEdgeException(java.lang.Throwable cause)


Copyright © 2009 ModelJUnit Project. All Rights Reserved.