Make a PR

On Mon, Jul 3, 2023 at 7:12 PM Gary Gregory <[email protected]> wrote:

> Hi All,
>
> I noticed that in org.apache.ftpserver.util.EncryptUtils we explicitly
> throw RuntimeException. This is usually an anti-pattern as
> IllegalArgumentException, IllegalStateException, and others are more
> descriptive.
>
> In the case of EncryptUtils, IllegalArgumentException seems more
> appropriate.
>
> Thoughts?
>
> Gary
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to