[ 
https://issues.apache.org/jira/browse/LANG-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629496#action_12629496
 ] 

Waldo Rochow commented on LANG-457:
-----------------------------------

James,

No, I would actually expect a NumberFormatException. I haven't looked at the 
code again today, but I believe that that is what gets thrown if the String 
cannot be converted to a number for example if it is any other group of letters.

Waldo

> NumberUtils createNumber thows a StringIndexOutOfBoundsException when only an 
> "l" is passed in.
> -----------------------------------------------------------------------------------------------
>
>                 Key: LANG-457
>                 URL: https://issues.apache.org/jira/browse/LANG-457
>             Project: Commons Lang
>          Issue Type: Bug
>            Reporter: Waldo Rochow
>
> Seems to be similar to LANG-300, except that if you don't place a digit in 
> front of the "l" or "L" it throws a StringIndexOutOfBoundsException instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to