public class MapCheckerScriptIOError<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends ValidationError<G,A,R>
ValidationError that reports I/O errors related to MapCheckerScriptChecker.| Constructor and Description |
|---|
MapCheckerScriptIOError(@NotNull MapModel<G,A,R> mapModel,
@NotNull java.lang.String file,
@NotNull java.lang.String message)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable java.lang.String |
getParameter(int id)
Returns a parameter string to be used in the error message.
|
addGameObject, addMapSquare, getGameObjects, getMapModel, getMapSquares, getMessage, toStringpublic MapCheckerScriptIOError(@NotNull
@NotNull MapModel<G,A,R> mapModel,
@NotNull
@NotNull java.lang.String file,
@NotNull
@NotNull java.lang.String message)
mapModel - the map modelfile - the file name related to the error messagemessage - the error message@Nullable public @Nullable java.lang.String getParameter(int id)
ValidationErrorid}.getParameter in class ValidationError<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>id - the error id