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