Class MapMismatchException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MapMismatchException
    extends java.io.IOException
    Exception thrown when there is mismatch between the expected map ID and the actual map ID when reading a graph.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MapMismatchException​(java.lang.String actualMapId, java.lang.String expectedMapId)
      Create a new MapMismatchException with the given IDs.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getActualMapId()  
      java.lang.String getExpectedMapId()  
      • 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

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

      • MapMismatchException

        public MapMismatchException​(java.lang.String actualMapId,
                                    java.lang.String expectedMapId)
        Create a new MapMismatchException with the given IDs.
        Parameters:
        actualMapId - Actual map ID found when reading the path.
        expectedMapId - Expected map ID from the graph.
    • Method Detail

      • getActualMapId

        public java.lang.String getActualMapId()
        Returns:
        Actual ID of the map (read from the path).
      • getExpectedMapId

        public java.lang.String getExpectedMapId()
        Returns:
        Expected ID of the map.