public class MapSizeMismatchException
extends java.lang.Exception
Constructor and Description |
---|
MapSizeMismatchException(@NotNull java.io.File mapFile,
@NotNull Size2D mapSize,
@NotNull Size2D otherMapSize)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
@NotNull java.io.File |
getMapFile()
Returns the map
File of the first map. |
@NotNull Size2D |
getMapSize()
Returns the size of the first map.
|
@NotNull Size2D |
getOtherMapSize()
Returns the size of the second map.
|
public MapSizeMismatchException(@NotNull @NotNull java.io.File mapFile, @NotNull @NotNull Size2D mapSize, @NotNull @NotNull Size2D otherMapSize)
mapFile
- the map file of the first mapmapSize
- the size of the first mapotherMapSize
- the size of the second map@NotNull public @NotNull java.io.File getMapFile()
File
of the first map.@NotNull public @NotNull Size2D getMapSize()
@NotNull public @NotNull Size2D getOtherMapSize()