Commit 19d9b0da authored by mmhatre's avatar mmhatre

added ITM Exception

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204615 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 99f754c2
...@@ -359,6 +359,7 @@ public class AutoFundTrfSch implements Schedule ...@@ -359,6 +359,7 @@ public class AutoFundTrfSch implements Schedule
System.out.println( "Exception"+e1.getMessage()); System.out.println( "Exception"+e1.getMessage());
} }
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
finally finally
{ {
...@@ -464,12 +465,13 @@ public class AutoFundTrfSch implements Schedule ...@@ -464,12 +465,13 @@ public class AutoFundTrfSch implements Schedule
System.out.println(">>>>>>>>In catch:"); System.out.println(">>>>>>>>In catch:");
e.printStackTrace(); e.printStackTrace();
System.out.println(e); System.out.println(e);
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
return retString; return retString;
}//end autoFundTrfProcess() method }//end autoFundTrfProcess() method
//intializingLog() method added for to Generate log file //intializingLog() method added for to Generate log file
private String intializingLog(String fileName) private String intializingLog(String fileName) throws ITMException
{ {
String log=""; String log="";
String strToWrite = ""; String strToWrite = "";
...@@ -504,6 +506,7 @@ public class AutoFundTrfSch implements Schedule ...@@ -504,6 +506,7 @@ public class AutoFundTrfSch implements Schedule
System.out.println("Exception []::"+e.getMessage()); System.out.println("Exception []::"+e.getMessage());
log="IntializingLog_Failed"; log="IntializingLog_Failed";
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
return log; return log;
}//end intializingLog() method }//end intializingLog() method
......
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