Commit 2a18341f authored by mmhatre's avatar mmhatre

added ITM Exception

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204607 ce508802-f39f-4f6c-b175-0d175dae99d5
parent db4cbc81
...@@ -61,6 +61,7 @@ public class AcctBalTransPrc extends ProcessEJB implements AcctBalTransPrcLocal, ...@@ -61,6 +61,7 @@ public class AcctBalTransPrc extends ProcessEJB implements AcctBalTransPrcLocal,
{ {
System.out.println(e.getMessage()); System.out.println(e.getMessage());
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
try try
{ {
...@@ -80,6 +81,7 @@ public class AcctBalTransPrc extends ProcessEJB implements AcctBalTransPrcLocal, ...@@ -80,6 +81,7 @@ public class AcctBalTransPrc extends ProcessEJB implements AcctBalTransPrcLocal,
{ {
System.out.println("Exception :WoTransferPrc :process(String xmlString, String xmlString2, String windowName, String xtraParams):" + e.getMessage() + ":"); System.out.println("Exception :WoTransferPrc :process(String xmlString, String xmlString2, String windowName, String xtraParams):" + e.getMessage() + ":");
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
return retStr; return retStr;
...@@ -316,6 +318,7 @@ conn = getConnection(); ...@@ -316,6 +318,7 @@ conn = getConnection();
Logger.getLogger(AcctBalTransPrc.class.getName()).log(Level.SEVERE, null, ex); Logger.getLogger(AcctBalTransPrc.class.getName()).log(Level.SEVERE, null, ex);
} }
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
finally finally
{ {
...@@ -740,7 +743,7 @@ conn = getConnection(); ...@@ -740,7 +743,7 @@ conn = getConnection();
catch(Exception e) catch(Exception e)
{ {
e.printStackTrace(); e.printStackTrace();
retString = e.getMessage(); //retString = e.getMessage(); //commented by manish mhatre on 02-aug-2019
throw new ITMException(e); throw new ITMException(e);
} }
finally 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