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