Class ConnectionError<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>

    • Constructor Detail

      • ConnectionError

        protected ConnectionError​(@NotNull
                                  @NotNull MapModel<G,​A,​R> mapModel,
                                  int connected,
                                  @NotNull
                                  @NotNull java.lang.Iterable<G> gameObjects)
        Creates a new instance.
        Parameters:
        mapModel - the map on which the error occurred
        connected - the erroneous connected value
        gameObjects - the erroneous game objects
    • Method Detail

      • getParameter

        @Nullable
        public @Nullable java.lang.String getParameter​(int id)
        Description copied from class: ValidationError
        Returns a parameter string to be used in the error message. It can be accessed with {4+id}.
        Specified by:
        getParameter in class ValidationError<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>
        Parameters:
        id - the error id
        Returns:
        the error string