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 "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2006/06/01 19:00:31 UTC
[jira] Resolved: (AXIS2-492) new UnsignedLong( 0xffffffffffffffffL
) should not throw a NumberFormatException
[ http://issues.apache.org/jira/browse/AXIS2-492?page=all ]
Davanum Srinivas resolved AXIS2-492:
------------------------------------
Resolution: Fixed
Applied.
thanks,
dims
> 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
> Assignee: Davanum Srinivas
> Attachments: patch.zip, patch2.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
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org