G - the game object type of the objectA - the map arch object type of the objectR - the archetype type of the objectpublic class SuspiciousMsgSyntaxError<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends AbstractSuspiciousMsgError<G,A,R>
| Constructor and Description |
|---|
SuspiciousMsgSyntaxError(G gameObject,
@NotNull java.lang.String line,
@NotNull java.lang.String error)
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.
|
correctaddGameObject, addMapSquare, getGameObjects, getMapModel, getMapSquares, getMessage, toStringpublic SuspiciousMsgSyntaxError(@NotNull
G gameObject,
@NotNull
@NotNull java.lang.String line,
@NotNull
@NotNull java.lang.String error)
gameObject - the game object on which the error occurredline - the line that contains the errorerror - the regular expression error@Nullable public @Nullable java.lang.String getParameter(int id)
ValidationErrorid}.getParameter in class AbstractSuspiciousMsgError<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>id - the error id