Fix the type of the exception thrown by validateTaps

The API specifies that validateTaps should throw InvalidSourceException, rather than IllegalArgumentException