Commit 848bf65f authored by mmhatre's avatar mmhatre

added ITM Exception

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204618 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b80904da
...@@ -210,6 +210,7 @@ public class AutoPmtPrcSch ...@@ -210,6 +210,7 @@ public class AutoPmtPrcSch
System.out.println(">>>>>>>>>>>>>In catch:"); System.out.println(">>>>>>>>>>>>>In catch:");
System.out.println(e); System.out.println(e);
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); //added by manish mhatre on 02-aug-2019
} }
System.out.println(""); System.out.println("");
...@@ -609,7 +610,7 @@ public class AutoPmtPrcSch ...@@ -609,7 +610,7 @@ public class AutoPmtPrcSch
return str; return str;
} }
private String errorType(Connection conn, String errorCode) private String errorType(Connection conn, String errorCode) throws ITMException
{ {
String msgType = ""; String msgType = "";
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
...@@ -645,6 +646,7 @@ public class AutoPmtPrcSch ...@@ -645,6 +646,7 @@ public class AutoPmtPrcSch
{ {
e.printStackTrace(); e.printStackTrace();
} }
throw new ITMException(ex); //added by manish mhatre on 02-aug-2019
} }
finally 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