fixes #2650
changed the exception type
added JavaDoc
Merge pull request #2652 from gurbuzali/exec-service-empty-selector/3.3

fixes #2650