Commit deb22b95 authored by arane's avatar arane

Issues In Bank Related Transactions

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@214716 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5043392d
...@@ -17,6 +17,7 @@ import java.util.Date; ...@@ -17,6 +17,7 @@ import java.util.Date;
import java.util.StringTokenizer; import java.util.StringTokenizer;
import javax.ejb.Stateless; import javax.ejb.Stateless;
import javax.jcr.ItemExistsException;
import ibase.system.config.ConnDriver; import ibase.system.config.ConnDriver;
//import ibase.utility.CommonConstants; //import ibase.utility.CommonConstants;
...@@ -47,6 +48,7 @@ public class SupplierBankConf extends ActionHandlerEJB implements SupplierBankCo ...@@ -47,6 +48,7 @@ public class SupplierBankConf extends ActionHandlerEJB implements SupplierBankCo
System.out.println("Exception :SuppBankConf :confirm():"+ e.getMessage() + ":"); System.out.println("Exception :SuppBankConf :confirm():"+ e.getMessage() + ":");
retString = genericUtility.createErrorString(e); retString = genericUtility.createErrorString(e);
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e);//exception thrown by AnaghaRane 06/01/2020
} }
return retString; return retString;
} }
...@@ -355,6 +357,7 @@ conn = getConnection(); ...@@ -355,6 +357,7 @@ conn = getConnection();
{ {
System.out.println("Exception : Occured during rollback........"); System.out.println("Exception : Occured during rollback........");
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e);//exception thrown by AnaghaRane 06/01/2020
} }
} }
catch (Exception e) catch (Exception e)
...@@ -366,8 +369,12 @@ conn = getConnection(); ...@@ -366,8 +369,12 @@ conn = getConnection();
catch (Exception e1) catch (Exception e1)
{ {
e1.printStackTrace(); e1.printStackTrace();
System.out.println("Exception Class [SupplierBankConf]::"+ e.getMessage()); System.out.println("Exception Class [SupplierBankConf]::"+ e1.getMessage());
throw new ITMException(e1);//exception thrown by AnaghaRane 06/01/2020
} }
e.printStackTrace();
System.out.println("Exception Class [SupplierBankConf]::"+ e.getMessage());
throw new ITMException(e);//exception thrown by AnaghaRane 06/01/2020
} }
finally finally
{ {
...@@ -401,7 +408,7 @@ conn = getConnection(); ...@@ -401,7 +408,7 @@ conn = getConnection();
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception : "+e);e.printStackTrace(); System.out.println("Exception : "+e);e.printStackTrace();
throw new ITMException(e); throw new ITMException(e);//exception thrown by AnaghaRane on 06/01/2020
} }
} }
System.out.println("[SupplierBankConf]errstring :" + errString); System.out.println("[SupplierBankConf]errstring :" + errString);
......
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