You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2020/06/01 23:01:00 UTC

[jira] [Created] (BCEL-339) Throw IllegalArgumentException, IllegalStateException, UnsupportedOperationException instead of RuntimeException

Gary D. Gregory created BCEL-339:
------------------------------------

             Summary: Throw IllegalArgumentException, IllegalStateException, UnsupportedOperationException instead of RuntimeException
                 Key: BCEL-339
                 URL: https://issues.apache.org/jira/browse/BCEL-339
             Project: Commons BCEL
          Issue Type: Bug
            Reporter: Gary D. Gregory
            Assignee: Gary D. Gregory


Throw {{IllegalArgumentException}}, {{IllegalStateException}}, {{UnsupportedOperationException}} instead of {{RuntimeException}}.

Throwing {{RuntimeException}} is a code smell.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)