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


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

Reply via email to