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: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to