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)

Reply via email to