Throw exception if the developer provides a bad event/selector