Commit 9159b8e7 authored by mchauhan's avatar mchauhan

Added ITM Exception

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204592 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 46e67f4d
......@@ -110,7 +110,8 @@ public class BenefitDisPrc extends ProcessEJB implements BenefitDisPrcLocal,Bene
catch (Exception e)
{
System.out.println("Exception :Xform :getData(String xmlString, String xmlString2, String windowName, String xtraParams):" + e.getMessage() + ":");
rtrStr = e.getMessage();
/*rtrStr = e.getMessage();*/
throw new ITMException(e); //Added By Mukesh Chauhan on 02/08/19
}
return rtrStr;
}//END OF GETDATA(1)
......@@ -375,6 +376,7 @@ public class BenefitDisPrc extends ProcessEJB implements BenefitDisPrcLocal,Bene
{
System.out.println("Exception :BenefitDisPrcEJB :process(String xmlString, String xmlString2, String windowName, String xtraParams):" + e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 02/08/19
}
return retStr;
}//END OF PROCESS (1)
......@@ -1592,7 +1594,7 @@ public class BenefitDisPrc extends ProcessEJB implements BenefitDisPrcLocal,Bene
return merrcode ;
} // end of wf_depb
private Timestamp getCurrdateAppFormat()
private Timestamp getCurrdateAppFormat() throws ITMException
{
String s = "";
Timestamp timestamp = null;
......@@ -1612,6 +1614,7 @@ public class BenefitDisPrc extends ProcessEJB implements BenefitDisPrcLocal,Bene
catch(Exception exception)
{
System.out.println("Exception in getCurrdateAppFormat " + exception.getMessage());
throw new ITMException(exception); //Added By Mukesh Chauhan on 02/08/19
}
return timestamp;
}
......
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