You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/02/27 06:54:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16378141#comment-16378141 ]
ASF GitHub Bot commented on CLI-282:
------------------------------------
Github user deepy closed the pull request at:
https://github.com/apache/commons-cli/pull/23
> 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
> Fix For: 1.5
>
>
> 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)