Commit b80904da authored by mmhatre's avatar mmhatre

added ITM Exception

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204617 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2a08afa6
...@@ -97,7 +97,8 @@ implements AutoPmtGenPrcLocal, AutoPmtGenPrcRemote ...@@ -97,7 +97,8 @@ implements AutoPmtGenPrcLocal, AutoPmtGenPrcRemote
} }
catch (Exception e) catch (Exception e)
{ {
rtrStr = e.getMessage(); //rtrStr = e.getMessage(); //commented by manish mhatre on 02-aug-2019
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
return rtrStr; return rtrStr;
} }
...@@ -132,7 +133,8 @@ implements AutoPmtGenPrcLocal, AutoPmtGenPrcRemote ...@@ -132,7 +133,8 @@ implements AutoPmtGenPrcLocal, AutoPmtGenPrcRemote
} }
catch (Exception e) catch (Exception e)
{ {
rtrStr = e.getMessage(); //rtrStr = e.getMessage(); //commented by manish mhatre on 02-aug-2019
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
return rtrStr; return rtrStr;
} }
...@@ -601,7 +603,8 @@ conn = getConnection(); ...@@ -601,7 +603,8 @@ conn = getConnection();
System.out.println("Exception :AutoPrmGen :process:" + e.getMessage() + ":"); System.out.println("Exception :AutoPrmGen :process:" + e.getMessage() + ":");
e.printStackTrace(); e.printStackTrace();
retStr = e.getMessage(); //retStr = e.getMessage(); //commented by manish mhatre on 02-aug-2019
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
return retStr; return retStr;
...@@ -2182,6 +2185,7 @@ conn = getConnection(); ...@@ -2182,6 +2185,7 @@ conn = getConnection();
{ {
System.out.println(ex.getMessage()); System.out.println(ex.getMessage());
} }
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
finally finally
{ {
...@@ -3028,7 +3032,7 @@ conn = getConnection(); ...@@ -3028,7 +3032,7 @@ conn = getConnection();
return dueDate; return dueDate;
} }
private String intializingLog(String fileName) private String intializingLog(String fileName) throws ITMException
{ {
String log = "intializingLog_Failed"; String log = "intializingLog_Failed";
String strToWrite = ""; String strToWrite = "";
...@@ -3057,6 +3061,7 @@ conn = getConnection(); ...@@ -3057,6 +3061,7 @@ conn = getConnection();
{ {
System.out.println("Exception []::" + e.getMessage()); System.out.println("Exception []::" + e.getMessage());
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
log = "intializingLog_Successesfull"; log = "intializingLog_Successesfull";
......
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