jdsl.graph.api
Class InvalidEdgeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jdsl.graph.api.GraphException
jdsl.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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidEdgeException
public InvalidEdgeException(String message)
InvalidEdgeException
public InvalidEdgeException(String message,
Throwable cause)
InvalidEdgeException
public InvalidEdgeException(Throwable cause)