Class Graph.NoEdgeException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing interface:
    Graph

    public static class Graph.NoEdgeException
    extends java.lang.Exception
    This class is thrown by getEdgeLength(node1, node2) if node1 and node2 are not directly connected by an edge.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NoEdgeException()  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NoEdgeException

        public NoEdgeException()