goog.provide('entitas.exceptions.EntityDoesNotHaveComponentException');
goog.require('entitas.Exception');
__extends(EntityDoesNotHaveComponentException, _super);
/**
* Entity Does Not Have Component Exception
* @constructor
* @param message
* @param index
*/
entitas.exceptions.EntityDoesNotHaveComponentException = function(message, index) {
_super.call(this, message + "\nEntity does not have a component at index (" + index + ") " + entitas.Pool.componentsEnum[index]);
}