use InvalidOptionsException instead of InvalidArgumentsAcception