Commit eaee5e37 authored by mchauhan's avatar mchauhan

Added ITM Exception

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204657 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4ff8c8a4
......@@ -25,7 +25,7 @@ public class SalesConsolidateIC extends ValidatorEJB implements SalesConsolidate
E12GenericUtility genericUtility= new E12GenericUtility();
public String wfValData(String currFrmXmlStr, String hdrFrmXmlStr,String allFrmXmlStr, String objContext, String editFlag,String xtraParams) throws RemoteException
public String wfValData(String currFrmXmlStr, String hdrFrmXmlStr,String allFrmXmlStr, String objContext, String editFlag,String xtraParams) throws RemoteException, ITMException
{
System.out.println("In wfValData");
Document currDom = null;
......@@ -54,6 +54,7 @@ public class SalesConsolidateIC extends ValidatorEJB implements SalesConsolidate
catch (Exception e)
{
System.out.println("Exception : [SalesConsolidateIC][wfValData(String currFrmXmlStr)] : ==>\n" + e.getMessage());
throw new ITMException(e); //Added By Mukesh Chauhan on 05/08/19
}
return errString;
}
......@@ -477,7 +478,7 @@ public class SalesConsolidateIC extends ValidatorEJB implements SalesConsolidate
return errString;
}
private String errorType(Connection conn, String errorCode)
private String errorType(Connection conn, String errorCode) throws ITMException
{
String msgType = "";
PreparedStatement pstmt = null;
......@@ -528,6 +529,7 @@ public class SalesConsolidateIC extends ValidatorEJB implements SalesConsolidate
{
e.printStackTrace();
}
throw new ITMException(ex); //Added By Mukesh Chauhan on 05/08/19
}
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