InvalidArgumentException also reveals part of the string that has been passed as an invalid argument.