Gridarta Editor
net.sf.gridarta.actions.MapSizeMismatchException Class Reference

Exception thrown if the size of a map file is unexpected. More...

+ Inheritance diagram for net.sf.gridarta.actions.MapSizeMismatchException:
+ Collaboration diagram for net.sf.gridarta.actions.MapSizeMismatchException:

Public Member Functions

File getMapFile ()
 Returns the map File of the first map. More...
 
Size2D getMapSize ()
 Returns the size of the first map. More...
 
Size2D getOtherMapSize ()
 Returns the size of the second map. More...
 
 MapSizeMismatchException (@NotNull final File mapFile, @NotNull final Size2D mapSize, @NotNull final Size2D otherMapSize)
 Creates a new instance. More...
 

Private Attributes

final File mapFile
 The map File of the first map. More...
 
final Size2D mapSize
 The size of the first map. More...
 
final Size2D otherMapSize
 The size of the second map. More...
 

Static Private Attributes

static final long serialVersionUID = 1L
 The serial version UID. More...
 

Detailed Description

Exception thrown if the size of a map file is unexpected.

Author
Andreas Kirschbaum

Definition at line 30 of file MapSizeMismatchException.java.

Constructor & Destructor Documentation

◆ MapSizeMismatchException()

net.sf.gridarta.actions.MapSizeMismatchException.MapSizeMismatchException ( @NotNull final File  mapFile,
@NotNull final Size2D  mapSize,
@NotNull final Size2D  otherMapSize 
)

Creates a new instance.

Parameters
mapFilethe map file of the first map
mapSizethe size of the first map
otherMapSizethe size of the second map

Definition at line 64 of file MapSizeMismatchException.java.

References net.sf.gridarta.actions.MapSizeMismatchException.mapFile, net.sf.gridarta.actions.MapSizeMismatchException.mapSize, and net.sf.gridarta.actions.MapSizeMismatchException.otherMapSize.

Member Function Documentation

◆ getMapFile()

File net.sf.gridarta.actions.MapSizeMismatchException.getMapFile ( )

◆ getMapSize()

◆ getOtherMapSize()

Member Data Documentation

◆ mapFile

final File net.sf.gridarta.actions.MapSizeMismatchException.mapFile
private

◆ mapSize

final Size2D net.sf.gridarta.actions.MapSizeMismatchException.mapSize
private

◆ otherMapSize

final Size2D net.sf.gridarta.actions.MapSizeMismatchException.otherMapSize
private

◆ serialVersionUID

final long net.sf.gridarta.actions.MapSizeMismatchException.serialVersionUID = 1L
staticprivate

The serial version UID.

Definition at line 35 of file MapSizeMismatchException.java.


The documentation for this class was generated from the following file: