Replace "InvalidArgumentException" with "IllegalArgumentException"