Checks whether the event generator is set.
If the event generator is not set, an
IllegalStateException
will be thrown.
IMPLEMENTATION NOTE: Call this method from subclasses'
afterPropertiesSet
method, as soon as the retry event mechanism or the event generator is used directly.