Class WorldEntityLimitException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
technology.sola.ecs.exception.WorldEntityLimitException
All Implemented Interfaces:
Serializable

@NullMarked public class WorldEntityLimitException extends RuntimeException
Exception thrown when the max entity limit is reached for a World.
See Also:
  • Constructor Details

    • WorldEntityLimitException

      public WorldEntityLimitException(int totalEntities, int maxEntities)
      Creates a new instance of this exception.
      Parameters:
      totalEntities - the total entities created
      maxEntities - the maximum allowed entities