You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Alan M. Feldstein (JIRA)" <ji...@apache.org> on 2006/03/30 21:25:28 UTC

[jira] Updated: (AXIS2-492) new UnsignedLong( 0xffffffffffffffffL ) should not throw a NumberFormatException

     [ http://issues.apache.org/jira/browse/AXIS2-492?page=all ]

Alan M. Feldstein updated AXIS2-492:
------------------------------------

    Attachment: patch.zip

> new UnsignedLong( 0xffffffffffffffffL ) should not throw a NumberFormatException
> --------------------------------------------------------------------------------
>
>          Key: AXIS2-492
>          URL: http://issues.apache.org/jira/browse/AXIS2-492
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: databinding
>     Versions: 0.95
>  Environment: Java 2 Platform SE 5.0
>     Reporter: Alan M. Feldstein
>  Attachments: patch.zip
>
> new UnsignedLong( 0xffffffffffffffffL )
> should not throw any Exception because, as an UnsignedLong, it is in range and nonnegative.
> Constructor
> UnsignedLong(long lValue)
> should never throw a NumberFormatException because that indicates that the application has attempted to convert a string to one of the numeric types.
> There is no string involved.
> IllegalArgumentException would be more correct.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira