Commit c3075b87 authored by mchauhan's avatar mchauhan

Added ITM Exception

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204972 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 34d5cc9c
...@@ -374,14 +374,16 @@ public class CancelInvPack extends ActionHandlerEJB implements CancelInvPackLoca ...@@ -374,14 +374,16 @@ public class CancelInvPack extends ActionHandlerEJB implements CancelInvPackLoca
{ {
System.out.println("The SQLException occurs in invPakc for CANCEL button :"+sqx); System.out.println("The SQLException occurs in invPakc for CANCEL button :"+sqx);
sqx.printStackTrace(); sqx.printStackTrace();
errorString=sqx.getMessage(); /*errorString=sqx.getMessage();*/ // Commented By Mukesh Chauhan on 08/08/19
throw new ITMException(sqx); //Added By Mukesh Chauhan on 08/08/19
} }
catch (Exception e) catch (Exception e)
{ {
System.out.println("The Exception occure in InvPakc for CANCEL button:"+e); System.out.println("The Exception occure in InvPakc for CANCEL button:"+e);
e.printStackTrace(); e.printStackTrace();
errorString=e.getMessage(); /*errorString=e.getMessage();*/ //commented By Mukesh Chauhan on 08/08/19
throw new ITMException(e); //Added By Mukesh Chauhan on 02/08/19
} }
finally finally
{ {
...@@ -416,7 +418,7 @@ public class CancelInvPack extends ActionHandlerEJB implements CancelInvPackLoca ...@@ -416,7 +418,7 @@ public class CancelInvPack extends ActionHandlerEJB implements CancelInvPackLoca
//End by msalam on 05/07/07 for req-id :: DI78GIN021 //End by msalam on 05/07/07 for req-id :: DI78GIN021
//signature changed by msalam //signature changed by msalam
//private String getCurrdateAppFormat() //private String getCurrdateAppFormat()
private java.sql.Timestamp getCurrdateAppFormat() private java.sql.Timestamp getCurrdateAppFormat() throws ITMException
{ {
String currAppdate =""; String currAppdate ="";
java.sql.Timestamp currDate = null; java.sql.Timestamp currDate = null;
...@@ -433,6 +435,7 @@ public class CancelInvPack extends ActionHandlerEJB implements CancelInvPackLoca ...@@ -433,6 +435,7 @@ public class CancelInvPack extends ActionHandlerEJB implements CancelInvPackLoca
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception in :::calcFrsBal"+e.getMessage()); System.out.println("Exception in :::calcFrsBal"+e.getMessage());
throw new ITMException(e); //Added By Mukesh Chauhan on 02/08/19
} }
return currDate; return currDate;
//LINE COMMENTED BY MSALAM AS TIMESTAMP IS NEEDED //LINE COMMENTED BY MSALAM AS TIMESTAMP IS NEEDED
......
...@@ -134,10 +134,12 @@ public class ChargeBackFormCancel extends ActionHandlerEJB implements ChargeBack ...@@ -134,10 +134,12 @@ public class ChargeBackFormCancel extends ActionHandlerEJB implements ChargeBack
catch (SQLException e) catch (SQLException e)
{ {
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 02/08/19
} }
catch (Exception e) catch (Exception e)
{ {
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 02/08/19
} }
finally finally
{ {
......
...@@ -205,7 +205,7 @@ ChargeBackFormPostSaveLocal, ChargeBackFormPostSaveRemote ...@@ -205,7 +205,7 @@ ChargeBackFormPostSaveLocal, ChargeBackFormPostSaveRemote
System.out.println("Exception ::" + e); System.out.println("Exception ::" + e);
e.printStackTrace(); e.printStackTrace();
error = e.getMessage(); error = e.getMessage();
throw new ITMException(e); //Added By Mukesh Chauhan on 02/08/19
} finally } finally
{ {
......
...@@ -132,10 +132,12 @@ public class ChargeBackLocCancel extends ActionHandlerEJB implements ChargeBackL ...@@ -132,10 +132,12 @@ public class ChargeBackLocCancel extends ActionHandlerEJB implements ChargeBackL
catch (SQLException e) catch (SQLException e)
{ {
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 02/08/19
} }
catch (Exception e) catch (Exception e)
{ {
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 02/08/19
} }
finally finally
{ {
......
...@@ -1551,7 +1551,7 @@ public class ConsumeIssueAct extends ActionHandlerEJB implements ConsumeIssueAct ...@@ -1551,7 +1551,7 @@ public class ConsumeIssueAct extends ActionHandlerEJB implements ConsumeIssueAct
System.out.println("retStr :"+retStr); System.out.println("retStr :"+retStr);
return retStr; return retStr;
}//end acctDertTType() }//end acctDertTType()
private String calcExpiry(String tranDate, int months) private String calcExpiry(String tranDate, int months) throws ITMException
{ {
java.util.Date expDate = new java.util.Date(); java.util.Date expDate = new java.util.Date();
java.util.Date retDate = new java.util.Date(); java.util.Date retDate = new java.util.Date();
...@@ -1583,6 +1583,7 @@ public class ConsumeIssueAct extends ActionHandlerEJB implements ConsumeIssueAct ...@@ -1583,6 +1583,7 @@ public class ConsumeIssueAct extends ActionHandlerEJB implements ConsumeIssueAct
catch(Exception e) catch(Exception e)
{ {
System.out.println("The Exception occurs in calcExpiry :"+e); System.out.println("The Exception occurs in calcExpiry :"+e);
throw new ITMException(e); //Added By Mukesh Chauhan on 02/08/19
} }
System.out.println("retStrInDate :"+retStrInDate); System.out.println("retStrInDate :"+retStrInDate);
return retStrInDate; return retStrInDate;
......
...@@ -159,7 +159,7 @@ public class CreateVoucherAct extends ActionHandlerEJB implements CreateVoucherA ...@@ -159,7 +159,7 @@ public class CreateVoucherAct extends ActionHandlerEJB implements CreateVoucherA
return retString; return retString;
} }
//Changes made by Anjali R on [03/08/2018][To replace tag value from dom][Start] //Changes made by Anjali R on [03/08/2018][To replace tag value from dom][Start]
private String replaceErrorMsg (String retErrXml ,String tagName , String replaceWith) private String replaceErrorMsg (String retErrXml ,String tagName , String replaceWith) throws ITMException
{ {
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
Document dom = null; Document dom = null;
...@@ -195,6 +195,7 @@ public class CreateVoucherAct extends ActionHandlerEJB implements CreateVoucherA ...@@ -195,6 +195,7 @@ public class CreateVoucherAct extends ActionHandlerEJB implements CreateVoucherA
catch(Exception e) catch(Exception e)
{ {
System.out.println(e.getMessage()); System.out.println(e.getMessage());
throw new ITMException(e); //Added By Mukesh Chauhan on 02/08/19
} }
return changedErrorString; return changedErrorString;
} }
......
...@@ -5891,10 +5891,12 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D ...@@ -5891,10 +5891,12 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D
{ {
System.out.println("The SQLException occurs in DespatchAct :"+sqx); System.out.println("The SQLException occurs in DespatchAct :"+sqx);
sqx.printStackTrace(); sqx.printStackTrace();
throw new ITMException(sqx); //Added By Mukesh Chauhan on 09/08/19
} }
catch (Exception e) catch (Exception e)
{ {
System.out.println("The Exception occurs in DespatchAct :"+e); System.out.println("The Exception occurs in DespatchAct :"+e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
//21-07-2010 connection close //21-07-2010 connection close
finally finally
...@@ -5934,7 +5936,7 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D ...@@ -5934,7 +5936,7 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D
return valueXmlString.toString(); return valueXmlString.toString();
} }
private String calcExpiry(String tranDate, int months) private String calcExpiry(String tranDate, int months) throws ITMException
{ {
java.util.Date expDate = new java.util.Date(); java.util.Date expDate = new java.util.Date();
java.util.Date retDate = new java.util.Date(); java.util.Date retDate = new java.util.Date();
...@@ -5966,6 +5968,7 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D ...@@ -5966,6 +5968,7 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D
catch(Exception e) catch(Exception e)
{ {
System.out.println("The Exception occurs in calcExpiry :"+e); System.out.println("The Exception occurs in calcExpiry :"+e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
System.out.println("retStrInDate :"+retStrInDate); System.out.println("retStrInDate :"+retStrInDate);
return retStrInDate; return retStrInDate;
...@@ -6633,7 +6636,7 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D ...@@ -6633,7 +6636,7 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D
return stbf.toString(); return stbf.toString();
} }
//Added By Gulzar - 23/01/08 //Added By Gulzar - 23/01/08
private double[] getNoArt(String siteCode , String custCode , String itemCode , String packCode , double qty , String qtyType , double shipperQty , double integralQty, Connection conn) private double[] getNoArt(String siteCode , String custCode , String itemCode , String packCode , double qty , String qtyType , double shipperQty , double integralQty, Connection conn) throws ITMException
{ {
String tempSql = ""; String tempSql = "";
String tempSql1 = ""; String tempSql1 = "";
...@@ -6918,6 +6921,7 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D ...@@ -6918,6 +6921,7 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D
{ {
System.out.println("Exception in getNoArt :: "+e.getMessage()); System.out.println("Exception in getNoArt :: "+e.getMessage());
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
...@@ -9293,6 +9297,7 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D ...@@ -9293,6 +9297,7 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D
{ {
System.out.println(e); System.out.println(e);
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
return dom; return dom;
......
...@@ -3156,6 +3156,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -3156,6 +3156,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
{ {
//System.out.println("Excepton occurs in DistIssueActEJB Allocate :: " +e); //System.out.println("Excepton occurs in DistIssueActEJB Allocate :: " +e);
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
...@@ -3601,7 +3602,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -3601,7 +3602,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
} }
return retString; return retString;
} }
private double pickRate(String priceList, String tranDate, String itemCode, String lotNo, char type) private double pickRate(String priceList, String tranDate, String itemCode, String lotNo, char type) throws ITMException
{ {
String siteCode = "", locCode = "", lotSL = "", priceListParent = ""; String siteCode = "", locCode = "", lotSL = "", priceListParent = "";
double rate = 0, retValue = 0; double rate = 0, retValue = 0;
...@@ -3725,6 +3726,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -3725,6 +3726,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception occurs in Case 'L' "+e); System.out.println("Exception occurs in Case 'L' "+e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
...@@ -3822,6 +3824,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -3822,6 +3824,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception occurs in Case 'L' "+e); System.out.println("Exception occurs in Case 'L' "+e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
...@@ -3989,6 +3992,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -3989,6 +3992,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception occurs in Case 'L' "+e); System.out.println("Exception occurs in Case 'L' "+e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
...@@ -4099,6 +4103,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -4099,6 +4103,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception occurs in Case 'L' "+e); System.out.println("Exception occurs in Case 'L' "+e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
...@@ -4203,6 +4208,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -4203,6 +4208,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception occurs in Case 'L' "+e); System.out.println("Exception occurs in Case 'L' "+e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
...@@ -4278,7 +4284,8 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -4278,7 +4284,8 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
} }
catch(Exception e) catch(Exception e)
{ {
System.out.println("The sql Exception occurs :"+e); System.out.println("The sql Exception occurs :"+e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
...@@ -4301,7 +4308,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -4301,7 +4308,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
return rate; return rate;
} }
private char priceListType(String priceList) private char priceListType(String priceList) throws ITMException
{ {
char listType = ' '; char listType = ' ';
System.out.println("priceList :"+priceList); System.out.println("priceList :"+priceList);
...@@ -4348,10 +4355,12 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -4348,10 +4355,12 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
catch(SQLException sqx) catch(SQLException sqx)
{ {
System.out.println("The Sql Exception Occures in priceListType :"+sqx); System.out.println("The Sql Exception Occures in priceListType :"+sqx);
throw new ITMException(sqx); //Added By Mukesh Chauhan on 09/08/19
} }
catch(Exception e) catch(Exception e)
{ {
System.out.println("The Exception Occures in priceListType :"+e); System.out.println("The Exception Occures in priceListType :"+e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
...@@ -4379,7 +4388,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -4379,7 +4388,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
System.out.println("listType :"+listType); System.out.println("listType :"+listType);
return listType; return listType;
} }
private String calcExpiry(String tranDate, int months) private String calcExpiry(String tranDate, int months) throws ITMException
{ {
java.util.Date expDate = new java.util.Date(); java.util.Date expDate = new java.util.Date();
java.util.Date retDate = new java.util.Date(); java.util.Date retDate = new java.util.Date();
...@@ -4411,12 +4420,13 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -4411,12 +4420,13 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
catch(Exception e) catch(Exception e)
{ {
System.out.println("The Exception occurs in calcExpiry :"+e); System.out.println("The Exception occurs in calcExpiry :"+e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
System.out.println("retStrInDate :"+retStrInDate); System.out.println("retStrInDate :"+retStrInDate);
return retStrInDate; return retStrInDate;
} }
private double getIntegralQty(String siteCode, String itemCode, String lotNo, String packCode, String checkIntegralQty) private double getIntegralQty(String siteCode, String itemCode, String lotNo, String packCode, String checkIntegralQty) throws ITMException
{ {
double integralQty = 0; double integralQty = 0;
String sql = ""; String sql = "";
...@@ -4616,6 +4626,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -4616,6 +4626,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
catch(Exception e) catch(Exception e)
{ {
System.out.println("the exception occurs in getIntegralQty :"+e); System.out.println("the exception occurs in getIntegralQty :"+e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
}finally }finally
{ {
try{ try{
...@@ -4634,7 +4645,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -4634,7 +4645,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
return integralQty; return integralQty;
} }
private int getNoArt(String siteCode, String custCode, String itemCode, String packCode, double qty, char type, double shipperQty, double integralQty1) private int getNoArt(String siteCode, String custCode, String itemCode, String packCode, double qty, char type, double shipperQty, double integralQty1) throws ITMException
{ {
String sql = ""; String sql = "";
ResultSet rs = null; ResultSet rs = null;
...@@ -4931,6 +4942,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -4931,6 +4942,7 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception occures in getNoArt :"+e); System.out.println("Exception occures in getNoArt :"+e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally { finally {
try{ try{
......
...@@ -88,6 +88,7 @@ public class DistIssueConfirmAct extends ActionHandlerEJB ...@@ -88,6 +88,7 @@ public class DistIssueConfirmAct extends ActionHandlerEJB
{ {
e1.printStackTrace(); e1.printStackTrace();
System.out.println("The Exception occure in DistIssueConfirmActEJB :"+e1); System.out.println("The Exception occure in DistIssueConfirmActEJB :"+e1);
throw new ITMException(e1); //Added By Mukesh Chauhan on 09/08/19
} }
return errString; return errString;
...@@ -856,12 +857,14 @@ public class DistIssueConfirmAct extends ActionHandlerEJB ...@@ -856,12 +857,14 @@ public class DistIssueConfirmAct extends ActionHandlerEJB
errString = "ERROR"; errString = "ERROR";
e1.printStackTrace(); e1.printStackTrace();
System.out.println("The Exception occure in DistIssueConfirmActEJB :"+e1); System.out.println("The Exception occure in DistIssueConfirmActEJB :"+e1);
throw new ITMException(e1); //Added By Mukesh Chauhan on 09/08/19
} }
catch (Exception e) catch (Exception e)
{ {
errString = "ERROR"; errString = "ERROR";
e.printStackTrace(); e.printStackTrace();
System.out.println("The Exception occure in DistIssueConfirmActEJB :"+e); System.out.println("The Exception occure in DistIssueConfirmActEJB :"+e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
...@@ -1105,7 +1108,7 @@ public class DistIssueConfirmAct extends ActionHandlerEJB ...@@ -1105,7 +1108,7 @@ public class DistIssueConfirmAct extends ActionHandlerEJB
} }
return xmlString; return xmlString;
} }
private String getCurrdateAppFormat() private String getCurrdateAppFormat() throws ITMException
{ {
String s = ""; String s = "";
//GenericUtility genericUtility = GenericUtility.getInstance(); //GenericUtility genericUtility = GenericUtility.getInstance();
...@@ -1123,6 +1126,7 @@ public class DistIssueConfirmAct extends ActionHandlerEJB ...@@ -1123,6 +1126,7 @@ public class DistIssueConfirmAct extends ActionHandlerEJB
catch(Exception exception) catch(Exception exception)
{ {
System.out.println("Exception in [MPSOrder] getCurrdateAppFormat " + exception.getMessage()); System.out.println("Exception in [MPSOrder] getCurrdateAppFormat " + exception.getMessage());
throw new ITMException(exception); //Added By Mukesh Chauhan on 09/08/19
} }
return s; return s;
} }
......
...@@ -189,7 +189,7 @@ public class DistOpenPrc extends ActionHandlerEJB ...@@ -189,7 +189,7 @@ public class DistOpenPrc extends ActionHandlerEJB
System.out.println("distorder..." + e1.getMessage()); System.out.println("distorder..." + e1.getMessage());
e1.printStackTrace(); e1.printStackTrace();
} }
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
......
...@@ -678,7 +678,7 @@ public class EnquiryAct extends ActionHandlerEJB implements EnquiryActLocal, Enq ...@@ -678,7 +678,7 @@ public class EnquiryAct extends ActionHandlerEJB implements EnquiryActLocal, Enq
return valueXmlString.toString(); return valueXmlString.toString();
} }
private ArrayList suppItemList(Document dom) private ArrayList suppItemList(Document dom) throws ITMException
{ {
ArrayList retArrList = new ArrayList(); ArrayList retArrList = new ArrayList();
String nodeName = "", nodeValue = ""; String nodeName = "", nodeValue = "";
...@@ -714,11 +714,12 @@ public class EnquiryAct extends ActionHandlerEJB implements EnquiryActLocal, Enq ...@@ -714,11 +714,12 @@ public class EnquiryAct extends ActionHandlerEJB implements EnquiryActLocal, Enq
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception [suppItemList]: " + e); System.out.println("Exception [suppItemList]: " + e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
return retArrList; return retArrList;
} }
private ArrayList itemList(Document dom) private ArrayList itemList(Document dom) throws ITMException
{ {
ArrayList retArrList = new ArrayList(); ArrayList retArrList = new ArrayList();
String nodeName = "", nodeValue = ""; String nodeName = "", nodeValue = "";
...@@ -750,6 +751,7 @@ public class EnquiryAct extends ActionHandlerEJB implements EnquiryActLocal, Enq ...@@ -750,6 +751,7 @@ public class EnquiryAct extends ActionHandlerEJB implements EnquiryActLocal, Enq
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception [suppItemList]: " + e); System.out.println("Exception [suppItemList]: " + e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
return retArrList; return retArrList;
} }
...@@ -770,7 +772,7 @@ public class EnquiryAct extends ActionHandlerEJB implements EnquiryActLocal, Enq ...@@ -770,7 +772,7 @@ public class EnquiryAct extends ActionHandlerEJB implements EnquiryActLocal, Enq
return retCnt; return retCnt;
} }
private String supplier(String siteCode, String suppCode, String tranSer) private String supplier(String siteCode, String suppCode, String tranSer) throws ITMException
{ {
String errCode = "", mVarValue = "" , blkList = "", sql = ""; String errCode = "", mVarValue = "" , blkList = "", sql = "";
long count = 0; long count = 0;
...@@ -845,12 +847,14 @@ public class EnquiryAct extends ActionHandlerEJB implements EnquiryActLocal, Enq ...@@ -845,12 +847,14 @@ public class EnquiryAct extends ActionHandlerEJB implements EnquiryActLocal, Enq
catch (SQLException sqx) catch (SQLException sqx)
{ {
System.out.println("SQLException : EnquiryAct : supplier : " +sqx.getMessage()); System.out.println("SQLException : EnquiryAct : supplier : " +sqx.getMessage());
errCode = sqx.getMessage(); /*errCode = sqx.getMessage();*/ //Commented By Mukesh Chauhan on 09/08/19
throw new ITMException(sqx); //Added By Mukesh Chauhan on 09/08/19
} }
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception : EnquiryAct : supplier :(Document dom)" +e.getMessage()); System.out.println("Exception : EnquiryAct : supplier :(Document dom)" +e.getMessage());
errCode = e.getMessage(); /*errCode = e.getMessage();*/ //Commented By Mukesh Chauhan on 09/08/19
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
......
...@@ -1858,7 +1858,7 @@ public class InvPackAct extends ActionHandlerEJB implements InvPackActLocal, Inv ...@@ -1858,7 +1858,7 @@ public class InvPackAct extends ActionHandlerEJB implements InvPackActLocal, Inv
return valueXmlString.toString(); return valueXmlString.toString();
} }
private String updateMessage(String resultString,String message) private String updateMessage(String resultString,String message) throws ITMException
{ {
StringBuffer stbf = new StringBuffer(); StringBuffer stbf = new StringBuffer();
try{ try{
...@@ -1875,6 +1875,7 @@ public class InvPackAct extends ActionHandlerEJB implements InvPackActLocal, Inv ...@@ -1875,6 +1875,7 @@ public class InvPackAct extends ActionHandlerEJB implements InvPackActLocal, Inv
}catch(Exception e){ }catch(Exception e){
System.out.println("Exception in updateMessage : "+e); System.out.println("Exception in updateMessage : "+e);
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
return stbf.toString(); return stbf.toString();
} }
......
...@@ -776,6 +776,7 @@ public class POBWizConf extends ActionHandlerEJB implements POBWizConfLocal, POB ...@@ -776,6 +776,7 @@ public class POBWizConf extends ActionHandlerEJB implements POBWizConfLocal, POB
catch(Exception ex) catch(Exception ex)
{ {
ex.printStackTrace(); ex.printStackTrace();
throw new ITMException(ex); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
......
...@@ -723,6 +723,7 @@ public class PorcpConfirmEJB implements Schedule ...@@ -723,6 +723,7 @@ public class PorcpConfirmEJB implements Schedule
catch (Exception localException) catch (Exception localException)
{ {
System.out.println("@V@ [PorcpConfirmEJB:: getResponse()]Exception Arises ..." + localException); System.out.println("@V@ [PorcpConfirmEJB:: getResponse()]Exception Arises ..." + localException);
throw new ITMException(localException); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
...@@ -795,6 +796,7 @@ public class PorcpConfirmEJB implements Schedule ...@@ -795,6 +796,7 @@ public class PorcpConfirmEJB implements Schedule
{ {
System.out.println("@V@ [PorcpConfirmEJB:: schedule()] Following Exception arises while getting sitecode.."); System.out.println("@V@ [PorcpConfirmEJB:: schedule()] Following Exception arises while getting sitecode..");
localException1.printStackTrace(); localException1.printStackTrace();
throw new ITMException(localException1); //Added By Mukesh Chauhan on 09/08/19
} }
localNodeList3 = paramDocument.getElementsByTagName("OWNER"); localNodeList3 = paramDocument.getElementsByTagName("OWNER");
......
...@@ -2029,6 +2029,7 @@ public class PorderClosePrc extends ProcessEJB implements PorderClosePrcLocal, ...@@ -2029,6 +2029,7 @@ public class PorderClosePrc extends ProcessEJB implements PorderClosePrcLocal,
errString = e.getMessage(); errString = e.getMessage();
throw new ITMException(e); throw new ITMException(e);
} }
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} finally { } finally {
System.out.println("Closing Connection...."); System.out.println("Closing Connection....");
......
...@@ -44,6 +44,7 @@ public class PorderConfWF implements PorderConfWFRemote, PorderConfWFLocal { ...@@ -44,6 +44,7 @@ public class PorderConfWF implements PorderConfWFRemote, PorderConfWFLocal {
} catch (Exception e) { } catch (Exception e) {
System.out.println("Exception Occured in PorderConfWF confirm"); System.out.println("Exception Occured in PorderConfWF confirm");
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
System.out.println("returnString>>>> "+retString); System.out.println("returnString>>>> "+retString);
return retString; return retString;
......
...@@ -228,6 +228,7 @@ public class SaleOrderOpenAct extends ActionHandlerEJB implements SaleOrderOpenA ...@@ -228,6 +228,7 @@ public class SaleOrderOpenAct extends ActionHandlerEJB implements SaleOrderOpenA
System.out.println("SaleOrderOpenAct..."+e1.getMessage()); System.out.println("SaleOrderOpenAct..."+e1.getMessage());
e1.printStackTrace(); e1.printStackTrace();
} }
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
...@@ -281,8 +282,9 @@ public class SaleOrderOpenAct extends ActionHandlerEJB implements SaleOrderOpenA ...@@ -281,8 +282,9 @@ public class SaleOrderOpenAct extends ActionHandlerEJB implements SaleOrderOpenA
* The private method to created to * The private method to created to
* update each 'sorditem' status for * update each 'sorditem' status for
* respective sale order * respective sale order
* @throws ITMException
* */ * */
private int updateSorditem(String saleOrder,String lineNo, Connection conn) private int updateSorditem(String saleOrder,String lineNo, Connection conn) throws ITMException
{ {
// TODO Auto-generated method stub // TODO Auto-generated method stub
int updateCnt=0; int updateCnt=0;
...@@ -302,6 +304,7 @@ public class SaleOrderOpenAct extends ActionHandlerEJB implements SaleOrderOpenA ...@@ -302,6 +304,7 @@ public class SaleOrderOpenAct extends ActionHandlerEJB implements SaleOrderOpenA
} catch (SQLException e) { } catch (SQLException e) {
// TODO Auto-generated catch block // TODO Auto-generated catch block
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
return updateCnt; return updateCnt;
} }
......
...@@ -464,6 +464,7 @@ public class SalesReturnConfirm extends ActionHandlerEJB implements SalesReturnC ...@@ -464,6 +464,7 @@ public class SalesReturnConfirm extends ActionHandlerEJB implements SalesReturnC
System.out.println("Inside catch confirm==>"+e.getMessage()); System.out.println("Inside catch confirm==>"+e.getMessage());
isError = true; isError = true;
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
......
...@@ -153,6 +153,7 @@ public class SchemeApplAct extends ActionHandlerEJB implements SchemeApplActLoca ...@@ -153,6 +153,7 @@ public class SchemeApplAct extends ActionHandlerEJB implements SchemeApplActLoca
//log.write("[Action] final valueXmlString=============>"+valueXmlString+"<===="); //log.write("[Action] final valueXmlString=============>"+valueXmlString+"<====");
}catch( Exception e ){ }catch( Exception e ){
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
return valueXmlString.toString(); return valueXmlString.toString();
} }
......
...@@ -538,7 +538,7 @@ public class SchemeDefWizPostSave extends ValidatorEJB implements SchemeDefWizPo ...@@ -538,7 +538,7 @@ public class SchemeDefWizPostSave extends ValidatorEJB implements SchemeDefWizPo
return mainStr; return mainStr;
}//end of method getError }//end of method getError
private String generateTranID(String xtraParams, String tranWindow, Connection conn) private String generateTranID(String xtraParams, String tranWindow, Connection conn) throws ITMException
{ {
String sprsTravelTranID = ""; String sprsTravelTranID = "";
PreparedStatement pStmt = null; PreparedStatement pStmt = null;
...@@ -583,6 +583,7 @@ public class SchemeDefWizPostSave extends ValidatorEJB implements SchemeDefWizPo ...@@ -583,6 +583,7 @@ public class SchemeDefWizPostSave extends ValidatorEJB implements SchemeDefWizPo
{ {
System.out.println("Exception In generateTranID......"); System.out.println("Exception In generateTranID......");
exp.printStackTrace(); exp.printStackTrace();
throw new ITMException(exp); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
......
...@@ -659,6 +659,7 @@ public class SordAttConf extends ActionHandlerEJB implements SordAttConfLocal, S ...@@ -659,6 +659,7 @@ public class SordAttConf extends ActionHandlerEJB implements SordAttConfLocal, S
System.out.println("Exception :: [ConfirmSordAtt][confirmSordAtt]"+e.getMessage()); System.out.println("Exception :: [ConfirmSordAtt][confirmSordAtt]"+e.getMessage());
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
...@@ -675,7 +676,7 @@ public class SordAttConf extends ActionHandlerEJB implements SordAttConfLocal, S ...@@ -675,7 +676,7 @@ public class SordAttConf extends ActionHandlerEJB implements SordAttConfLocal, S
} }
//Confirm SaleOrder //Confirm SaleOrder
private String confirmSalesOrder(String sorderNo,String sordAttNo,Connection conn) private String confirmSalesOrder(String sorderNo,String sordAttNo,Connection conn) throws ITMException
{ {
String retString = "Not Confirmed"; String retString = "Not Confirmed";
Statement stmt = null; Statement stmt = null;
...@@ -971,6 +972,7 @@ public class SordAttConf extends ActionHandlerEJB implements SordAttConfLocal, S ...@@ -971,6 +972,7 @@ public class SordAttConf extends ActionHandlerEJB implements SordAttConfLocal, S
retString = "Not Confirmed"; retString = "Not Confirmed";
System.out.println("Exception ::"+e.getMessage()); System.out.println("Exception ::"+e.getMessage());
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
return retString; return retString;
} }
...@@ -1113,7 +1115,7 @@ public class SordAttConf extends ActionHandlerEJB implements SordAttConfLocal, S ...@@ -1113,7 +1115,7 @@ public class SordAttConf extends ActionHandlerEJB implements SordAttConfLocal, S
return flag; return flag;
} }
//The method check for Detail entry for the corresponding colVal //The method check for Detail entry for the corresponding colVal
private boolean checkForDetailEntry(String table,String field,String colVal,Connection conn) private boolean checkForDetailEntry(String table,String field,String colVal,Connection conn) throws ITMException
{ {
Statement stmt = null; Statement stmt = null;
ResultSet rs = null; ResultSet rs = null;
...@@ -1137,6 +1139,7 @@ public class SordAttConf extends ActionHandlerEJB implements SordAttConfLocal, S ...@@ -1137,6 +1139,7 @@ public class SordAttConf extends ActionHandlerEJB implements SordAttConfLocal, S
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception :: [ConfirmSordAtt][checkForDetailEntry]"+e); System.out.println("Exception :: [ConfirmSordAtt][checkForDetailEntry]"+e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
return flag; return flag;
} }
...@@ -2559,7 +2562,7 @@ public class SordAttConf extends ActionHandlerEJB implements SordAttConfLocal, S ...@@ -2559,7 +2562,7 @@ public class SordAttConf extends ActionHandlerEJB implements SordAttConfLocal, S
return itemDescr; return itemDescr;
} }
private String getAttributeColumn(String attributeName,String itemTYpe,Connection conn) private String getAttributeColumn(String attributeName,String itemTYpe,Connection conn) throws ITMException
{ {
Statement stmt = null; Statement stmt = null;
ResultSet rs = null; ResultSet rs = null;
...@@ -2596,11 +2599,12 @@ public class SordAttConf extends ActionHandlerEJB implements SordAttConfLocal, S ...@@ -2596,11 +2599,12 @@ public class SordAttConf extends ActionHandlerEJB implements SordAttConfLocal, S
{ {
System.out.println("Exception in attributeColumn :: "+e.getMessage()); System.out.println("Exception in attributeColumn :: "+e.getMessage());
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
return columnName; return columnName;
} }
private String generateSaleOrder(String tranID,String saleOrder,String xtraParams,Connection conn) private String generateSaleOrder(String tranID,String saleOrder,String xtraParams,Connection conn) throws ITMException
{ {
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
Statement stmt = null; Statement stmt = null;
...@@ -2851,6 +2855,7 @@ public class SordAttConf extends ActionHandlerEJB implements SordAttConfLocal, S ...@@ -2851,6 +2855,7 @@ public class SordAttConf extends ActionHandlerEJB implements SordAttConfLocal, S
{ {
System.out.println("Exception in generateSaleOrder :: "+e.getMessage()); System.out.println("Exception in generateSaleOrder :: "+e.getMessage());
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
......
...@@ -921,7 +921,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde ...@@ -921,7 +921,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde
return newDomXml; return newDomXml;
} }
public String getItemDescr(String itemCode , Connection conn) public String getItemDescr(String itemCode , Connection conn) throws ITMException
{ {
String descr = "",sql=""; String descr = "",sql="";
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
...@@ -953,6 +953,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde ...@@ -953,6 +953,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde
{ {
System.out.println(e); System.out.println(e);
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
finally finally
{ {
...@@ -1012,7 +1013,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde ...@@ -1012,7 +1013,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde
return AttribValue; return AttribValue;
} }
//Added by sarita on 15JAN2018 //Added by sarita on 15JAN2018
public String returnFinalFreeItemDataUsingList(List<String> list,Connection conn,String schemeType,String schemeCode,String schemeDescr,double discount,double freeQty,String itemValues,HashMap<String,String> detai1ValueMap) public String returnFinalFreeItemDataUsingList(List<String> list,Connection conn,String schemeType,String schemeCode,String schemeDescr,double discount,double freeQty,String itemValues,HashMap<String,String> detai1ValueMap) throws ITMException
{ {
System.out.println("finalFreeItems :::"+list); System.out.println("finalFreeItems :::"+list);
//System.out.println("finalFreeItems :::"+list.size()); //System.out.println("finalFreeItems :::"+list.size());
...@@ -1093,6 +1094,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde ...@@ -1093,6 +1094,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde
System.out.println("Exception in returnFinalFreeItemDataUsingList is:::"+e); System.out.println("Exception in returnFinalFreeItemDataUsingList is:::"+e);
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
return valueXmlString.toString(); return valueXmlString.toString();
} }
...@@ -1132,7 +1134,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde ...@@ -1132,7 +1134,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde
return valueXmlString.toString(); return valueXmlString.toString();
}*/ }*/
public String getItemCode(List<String> itemCodeListScheme) public String getItemCode(List<String> itemCodeListScheme) throws ITMException
{ {
Iterator<String> itr = null; Iterator<String> itr = null;
String itemValues = ""; String itemValues = "";
...@@ -1155,6 +1157,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde ...@@ -1155,6 +1157,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde
catch(Exception e) catch(Exception e)
{ {
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
return itemValues; return itemValues;
} }
...@@ -1179,7 +1182,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde ...@@ -1179,7 +1182,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde
} }
} }
private String getDueDate(String sale_order,Connection conn) private String getDueDate(String sale_order,Connection conn) throws ITMException
{ {
String dueDate = ""; String dueDate = "";
String sql = ""; String sql = "";
...@@ -1201,6 +1204,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde ...@@ -1201,6 +1204,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde
{ {
System.out.println("Inside getDueDate() ---- "+e); System.out.println("Inside getDueDate() ---- "+e);
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
return dueDate; return dueDate;
} }
...@@ -1226,7 +1230,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde ...@@ -1226,7 +1230,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde
return null; return null;
} }
} }
public String getStationFrom(String siteCode,Connection conn) public String getStationFrom(String siteCode,Connection conn) throws ITMException
{ {
String sql = "",stationFrom=""; String sql = "",stationFrom="";
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
...@@ -1254,11 +1258,12 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde ...@@ -1254,11 +1258,12 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde
{ {
e.printStackTrace(); e.printStackTrace();
System.out.println(e); System.out.println(e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
return stationFrom; return stationFrom;
} }
public String getStationTo(String custCode,Connection conn) public String getStationTo(String custCode,Connection conn) throws ITMException
{ {
String sql = "",stationTo=""; String sql = "",stationTo="";
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
...@@ -1288,12 +1293,13 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde ...@@ -1288,12 +1293,13 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde
{ {
e.printStackTrace(); e.printStackTrace();
System.out.println(e); System.out.println(e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
return stationTo; return stationTo;
} }
//added by nandkumar gadkari on 12/06/19 //added by nandkumar gadkari on 12/06/19
public String pointBaseScheme(Document dom, Document dom1, String xtraParams,String s,Connection conn) public String pointBaseScheme(Document dom, Document dom1, String xtraParams,String s,Connection conn) throws ITMException
{ {
String sql = "",custCode=""; String sql = "",custCode="";
PreparedStatement pstmt = null,pstmt1 = null,pstmt2 = null, pstmt4=null,pstmt5=null; PreparedStatement pstmt = null,pstmt1 = null,pstmt2 = null, pstmt4=null,pstmt5=null;
...@@ -1621,6 +1627,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde ...@@ -1621,6 +1627,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde
{ {
e.printStackTrace(); e.printStackTrace();
System.out.println(e); System.out.println(e);
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
return valueXmlString.toString(); return valueXmlString.toString();
......
...@@ -128,6 +128,7 @@ public class StoreToPrc extends ProcessEJB implements StoreToPrcLocal, StoreToPr ...@@ -128,6 +128,7 @@ public class StoreToPrc extends ProcessEJB implements StoreToPrcLocal, StoreToPr
{ {
System.out.println("Exception :SoHoldRefPrc :process(String xmlString, String xmlString2, String windowName, String xtraParams):" + e.getMessage() + ":"); System.out.println("Exception :SoHoldRefPrc :process(String xmlString, String xmlString2, String windowName, String xtraParams):" + e.getMessage() + ":");
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
return retStr; return retStr;
}//END OF PROCESS (1) }//END OF PROCESS (1)
...@@ -254,8 +255,8 @@ public class StoreToPrc extends ProcessEJB implements StoreToPrcLocal, StoreToPr ...@@ -254,8 +255,8 @@ public class StoreToPrc extends ProcessEJB implements StoreToPrcLocal, StoreToPr
{ {
System.out.println("Exception in SoHoldRefPrc..."+e.getMessage()); System.out.println("Exception in SoHoldRefPrc..."+e.getMessage());
e.printStackTrace(); /*e.printStackTrace();*/ //Commented By Mukesh Chauhan on 09/08/19
errString = e.getMessage(); throw new ITMException(e); //Added By Mukesh Chauhan on 09/08/19
} }
System.out.println("returning from SoHoldRefPrc "+errString); System.out.println("returning from SoHoldRefPrc "+errString);
return (errString); return (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