Commit 46e45e10 authored by mchauhan's avatar mchauhan

Added ITM Exception

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204594 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 55b5bf50
...@@ -1212,7 +1212,7 @@ implements BillofQuantityActLocal, BillofQuantityActRemote ...@@ -1212,7 +1212,7 @@ implements BillofQuantityActLocal, BillofQuantityActRemote
private String qcReqd(String siteCode, String ditemCode,Connection conn) { private String qcReqd(String siteCode, String ditemCode,Connection conn) throws ITMException {
String qcReqd = ""; String qcReqd = "";
String sql = ""; String sql = "";
//ConnDriver connDriver = new ConnDriver(); //ConnDriver connDriver = new ConnDriver();
...@@ -1258,12 +1258,11 @@ implements BillofQuantityActLocal, BillofQuantityActRemote ...@@ -1258,12 +1258,11 @@ implements BillofQuantityActLocal, BillofQuantityActRemote
} }
}catch (Exception e) }catch (Exception e)
{ {
System.out.println("Exception : PorderActEJB : actionHandler :(Document dom)" + e.getMessage()); System.out.println("Exception : PorderActEJB : actionHandler :(Document dom)" + e.getMessage());
//throw new ITMException(e); //throw new ITMException(e);
throw new ITMException(e); //Added By Mukesh Chauhan on 02/08/19
} }
return qcReqd; return qcReqd;
...@@ -1469,7 +1468,7 @@ implements BillofQuantityActLocal, BillofQuantityActRemote ...@@ -1469,7 +1468,7 @@ implements BillofQuantityActLocal, BillofQuantityActRemote
return input; return input;
} }
private void priceListItemCheck(String itemCode, Document dom ,Connection conn) private void priceListItemCheck(String itemCode, Document dom ,Connection conn) throws ITMException
{ {
String PriceListParent = ""; String PriceListParent = "";
String priceList = ""; String priceList = "";
...@@ -1538,6 +1537,7 @@ implements BillofQuantityActLocal, BillofQuantityActRemote ...@@ -1538,6 +1537,7 @@ implements BillofQuantityActLocal, BillofQuantityActRemote
} }
}catch (Exception e) { }catch (Exception e) {
// TODO: handle exception // TODO: handle exception
throw new ITMException(e); //Added By Mukesh Chauhan on 02/08/19
} }
} }
......
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