axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "khalithbasha (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AXIS2-5851) Exception in thread "main" java.lang.NumberFormatException: For input string: "1000.0"
Date Thu, 08 Jun 2017 12:10:20 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

khalithbasha updated AXIS2-5851:
--------------------------------
    External issue URL: https://issues.apache.org/jira/browse/AXIS2-5789
                Labels: adb axis2 axis2_1.7.5 convertToStandardDecimalNotation databinding
 (was: )

> Exception in thread "main" java.lang.NumberFormatException: For input string: "1000.0"
> --------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5851
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5851
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb, databinding
>            Reporter: khalithbasha
>              Labels: adb, axis2, axis2_1.7.5, convertToStandardDecimalNotation, databinding
>
> Exception in thread "main" java.lang.NumberFormatException: For input string: "1000.0"
> I am facing the same issue in version 1.7.5. Kindly help me on the same..
>   public void setEMPL_RCDTypeDef(int param) {
>             java.lang.String totalDigitsDecimal = org.apache.axis2.databinding.utils.ConverterUtil.convertToStandardDecimalNotation(
>                     "3").toPlainString();
>             if (org.apache.axis2.databinding.utils.ConverterUtil.compare(
>                         param, totalDigitsDecimal) < 0) {
>                 this.localEMPL_RCDTypeDef = param;
>             } else {
>                 throw new java.lang.RuntimeException(
>                     "Input values do not follow defined XSD restrictions");
>             }
>         }



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message