Commit c98ff1da authored by mchauhan's avatar mchauhan

Added ITM Exception

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204599 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ea0b7327
......@@ -851,6 +851,7 @@ public class BuildForecastPrc extends ProcessEJB
{
//BaseLogger.log("3", userInfo, null,"Exception8:Generating id [failed]:" + "\n" +ex.getMessage());
ex.printStackTrace();
throw new ITMException(ex); //Added By Mukesh Chauhan on 02/08/19
}
finally
{
......@@ -903,11 +904,12 @@ public class BuildForecastPrc extends ProcessEJB
{
//BaseLogger.log("3", userInfo, null,"Exception8:Generating id [failed]:" + "\n" +ex.getMessage());
ex.printStackTrace();
throw new ITMException(ex); //Added By Mukesh Chauhan on 02/08/19
}
return tranId;
}
private String getCurrdateAppFormat()
private String getCurrdateAppFormat() throws ITMException
{
String currAppdate ="";
try
......@@ -921,6 +923,7 @@ public class BuildForecastPrc extends ProcessEJB
catch(Exception e)
{
e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 02/08/19
}
return (currAppdate);
}
......@@ -980,6 +983,7 @@ public class BuildForecastPrc extends ProcessEJB
catch (SQLException e)
{
e.printStackTrace();
throw new ITMException(e); //Added By Mukesh Chauhan on 02/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