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/26 12:49:00 UTC

[jira] [Commented] (CLI-282) TypeHandler should throw ParseException

    [ https://issues.apache.org/jira/browse/CLI-282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16376808#comment-16376808 ] 

ASF GitHub Bot commented on CLI-282:
------------------------------------

GitHub user deepy opened a pull request:

    https://github.com/apache/commons-cli/pull/23

    CLI-282: Throw an exception if we cannot handle the class.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/deepy/commons-cli CLI-282

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-cli/pull/23.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #23
    
----
commit 583a1d661816483ceb201a7b1632f35cd9c3139c
Author: Alex Nordlund <de...@...>
Date:   2018-02-26T12:46:55Z

    CLI-282: Throw an exception if we cannot handle the class.

----


> TypeHandler should throw ParseException
> ---------------------------------------
>
>                 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)