khalithbasha created AXIS2-5851:
-----------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]