nz.ac.waikato.jdsl.graph.api
Class InvalidEdgeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nz.ac.waikato.jdsl.graph.api.GraphException
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 Edge
s 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
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 |
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.