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:03:00 UTC

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

     [ https://issues.apache.org/jira/browse/BCEL-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory resolved BCEL-339.
----------------------------------
    Fix Version/s: 6.5.0
       Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: 6.5.0
>
>
> Throw {{IllegalArgumentException}}, {{IllegalStateException}}, {{UnsupportedOperationException}} instead of {{RuntimeException}}.
> Throwing {{RuntimeException}} is a code smell.
>  



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