java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
technology.sola.ecs.exception.WorldEntityLimitException
- All Implemented Interfaces:
Serializable
Exception thrown when the max entity limit is reached for a
World
.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWorldEntityLimitException
(int totalEntities, int maxEntities) Creates a new instance of this exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WorldEntityLimitException
public WorldEntityLimitException(int totalEntities, int maxEntities) Creates a new instance of this exception.- Parameters:
totalEntities
- the total entities createdmaxEntities
- the maximum allowed entities
-