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 Gregory (JIRA)" <ji...@apache.org> on 2018/02/26 17:20:00 UTC
[jira] [Updated] (CLI-282) TypeHandler should throw ParseException
for an unsupported class
[ https://issues.apache.org/jira/browse/CLI-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory updated CLI-282:
-----------------------------
Summary: TypeHandler should throw ParseException for an unsupported class (was: TypeHandler should throw ParseException)
> TypeHandler should throw ParseException for an unsupported class
> ----------------------------------------------------------------
>
> Key: CLI-282
> URL: https://issues.apache.org/jira/browse/CLI-282
> Project: Commons CLI
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Alex Nordlund
> Priority: Minor
>
> JavaDoc for TypeHandler states that createValue will
> {noformat}
> * @throws ParseException if the value creation for the given object type failedtype{noformat}
> However createValue(String str, Class<?> clazz) will return null if the clazz is unknown.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)