Package org.insa.graphs.model.io
Class MapMismatchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.insa.graphs.model.io.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()
-
-
-
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.
-
-