[jboss-jira] [JBoss JIRA] (ELY-1058) When we set wrong ITERATION value (too big number or string) then we get NumberFormatException.

Ilia Vassilev (JIRA) issues at jboss.org
Wed Apr 5 12:26:02 EDT 2017


     [ https://issues.jboss.org/browse/ELY-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilia Vassilev reassigned ELY-1058:
----------------------------------

    Assignee: Ilia Vassilev  (was: Darran Lofthouse)


> When we set wrong ITERATION value (too big number or string) then we get NumberFormatException.
> -----------------------------------------------------------------------------------------------
>
>                 Key: ELY-1058
>                 URL: https://issues.jboss.org/browse/ELY-1058
>             Project: WildFly Elytron
>          Issue Type: Bug
>            Reporter: Hynek Švábek
>            Assignee: Ilia Vassilev
>
> When we set wrong ITERATION value (too big number or string) then we get NumberFormatException.
> I expect here some meaningful message about what we expected -> e.g. integer value and its maximum value.
> {code}
> java -jar wildfly-elytron-tool.jar mask -x secret_password -i 2301145145644 -s 12用戶
> java.lang.NumberFormatException: For input string: "2301145145644"
> {code}
> {code}
> java -jar wildfly-elytron-tool.jar mask -x secret_password -i 230sd644 -s 12用戶
> java.lang.NumberFormatException: For input string: "230sd644"
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list