Package net.sf.gridarta.actions
Class MapSizeMismatchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.sf.gridarta.actions.MapSizeMismatchException
-
- All Implemented Interfaces:
java.io.Serializable
public class MapSizeMismatchException extends java.lang.ExceptionException thrown if the size of a map file is unexpected.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MapSizeMismatchException(@NotNull java.io.File mapFile, @NotNull Size2D mapSize, @NotNull Size2D otherMapSize)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.io.FilegetMapFile()Returns the mapFileof the first map.@NotNull Size2DgetMapSize()Returns the size of the first map.@NotNull Size2DgetOtherMapSize()Returns the size of the second map.
-
-
-
Constructor Detail
-
MapSizeMismatchException
public MapSizeMismatchException(@NotNull @NotNull java.io.File mapFile, @NotNull @NotNull Size2D mapSize, @NotNull @NotNull Size2D otherMapSize)Creates a new instance.- Parameters:
mapFile- the map file of the first mapmapSize- the size of the first mapotherMapSize- the size of the second map
-
-
Method Detail
-
getMapFile
@NotNull public @NotNull java.io.File getMapFile()
Returns the mapFileof the first map.- Returns:
- the map control
-
getMapSize
@NotNull public @NotNull Size2D getMapSize()
Returns the size of the first map.- Returns:
- the size
-
getOtherMapSize
@NotNull public @NotNull Size2D getOtherMapSize()
Returns the size of the second map.- Returns:
- the size
-
-