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

Hynek Švábek (JIRA) issues at jboss.org
Tue Apr 4 10:38:02 EDT 2017


Hynek Švábek created ELY-1058:
---------------------------------

             Summary: 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: Darran Lofthouse


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