Addressed false positive(ThrowNonArgumentExceptionCorrectlyLogs).