Fixed type of exception thrown by validateTaps

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