Gridarta Editor
MapSizeMismatchException.java
Go to the documentation of this file.
1
/*
2
* Gridarta MMORPG map editor for Crossfire, Daimonin and similar games.
3
* Copyright (C) 2000-2015 The Gridarta Developers.
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License along
16
* with this program; if not, write to the Free Software Foundation, Inc.,
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
*/
19
20
package
net.sf.gridarta.actions;
21
22
import
java.io.File;
23
import
net
.
sf
.
gridarta
.
utils
.
Size2D
;
24
import
org.jetbrains.annotations.NotNull;
25
30
public
class
MapSizeMismatchException
extends
Exception {
31
35
private
static
final
long
serialVersionUID
= 1L;
36
41
@NotNull
42
private
final
File
mapFile
;
43
48
@NotNull
49
private
final
Size2D
mapSize
;
50
55
@NotNull
56
private
final
Size2D
otherMapSize
;
57
64
public
MapSizeMismatchException
(@NotNull
final
File
mapFile
, @NotNull
final
Size2D
mapSize
, @NotNull
final
Size2D
otherMapSize
) {
65
this.mapFile =
mapFile
;
66
this.mapSize =
mapSize
;
67
this.otherMapSize =
otherMapSize
;
68
}
69
74
@NotNull
75
public
File
getMapFile
() {
76
return
mapFile
;
77
}
78
83
@NotNull
84
public
Size2D
getMapSize
() {
85
return
mapSize
;
86
}
87
92
@NotNull
93
public
Size2D
getOtherMapSize
() {
94
return
otherMapSize
;
95
}
96
97
}
net.sf.gridarta
net.sf
net.sf.gridarta.actions.MapSizeMismatchException.mapFile
final File mapFile
Definition:
MapSizeMismatchException.java:42
net.sf.gridarta.actions.MapSizeMismatchException.mapSize
final Size2D mapSize
Definition:
MapSizeMismatchException.java:49
net.sf.gridarta.actions.MapSizeMismatchException.MapSizeMismatchException
MapSizeMismatchException(@NotNull final File mapFile, @NotNull final Size2D mapSize, @NotNull final Size2D otherMapSize)
Definition:
MapSizeMismatchException.java:64
net
net.sf.gridarta.actions.MapSizeMismatchException.getOtherMapSize
Size2D getOtherMapSize()
Definition:
MapSizeMismatchException.java:93
net.sf.gridarta.actions.MapSizeMismatchException.getMapSize
Size2D getMapSize()
Definition:
MapSizeMismatchException.java:84
net.sf.gridarta.actions.MapSizeMismatchException
Definition:
MapSizeMismatchException.java:30
net.sf.gridarta.actions.MapSizeMismatchException.getMapFile
File getMapFile()
Definition:
MapSizeMismatchException.java:75
net.sf.gridarta.actions.MapSizeMismatchException.serialVersionUID
static final long serialVersionUID
Definition:
MapSizeMismatchException.java:35
net.sf.gridarta.utils.Size2D
Definition:
Size2D.java:30
net.sf.gridarta.utils
Definition:
ActionBuilderUtils.java:20
net.sf.gridarta.actions.MapSizeMismatchException.otherMapSize
final Size2D otherMapSize
Definition:
MapSizeMismatchException.java:56
src
gridarta
src
main
java
net
sf
gridarta
actions
MapSizeMismatchException.java
Generated by
1.8.17