Commit 37e87a7d authored by prane's avatar prane

added error trapping and prpoper exception handling in calcRate()method

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@200936 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e174b93a
......@@ -12102,7 +12102,6 @@ public class DistCommon {
String finalRate = "";
//HashMap<String,String> sqlInputDataMap = new HashMap<String, String>();
GenericUtility genericUtility ;
try
{
System.out.println("-----------------------------Inside calc method---------------------------");
......@@ -12221,7 +12220,11 @@ public class DistCommon {
}
}
catch(Exception e)
{
{
//Pavan Rane 20may19 [to handle exception trace/details in errMap] start
errCode = varName + "\t" + varExpr + "\t" + varSrc + "\t" +varInput;
errMap.put("error", errCode);
//Pavan Rane 20may19 [to handle exception trace/details in errMap] end
System.out.println("Exception in calcRate-------["+e.getMessage()+"]");
}
finally
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment