Commit 9995661d authored by mchauhan's avatar mchauhan

Added ITM Exception

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204578 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2cce7c3d
...@@ -338,7 +338,7 @@ public class AwacsToES3IC extends ValidatorEJB implements AwacsToES3ICRemote,Awa ...@@ -338,7 +338,7 @@ public class AwacsToES3IC extends ValidatorEJB implements AwacsToES3ICRemote,Awa
return errString; return errString;
} }
public void callPstRs(PreparedStatement pstmt, ResultSet rs) public void callPstRs(PreparedStatement pstmt, ResultSet rs)
{ {
try try
{ {
...@@ -359,17 +359,19 @@ public class AwacsToES3IC extends ValidatorEJB implements AwacsToES3ICRemote,Awa ...@@ -359,17 +359,19 @@ public class AwacsToES3IC extends ValidatorEJB implements AwacsToES3ICRemote,Awa
} }
} }
private String checkNull(String inputVal) private String checkNull(String inputVal)
{ {
try{ try{
inputVal = inputVal==null? "" : inputVal.trim(); inputVal = inputVal==null? "" : inputVal.trim();
}catch(Exception e){ }
catch(Exception e)
{
e.printStackTrace(); e.printStackTrace();
} }
return inputVal; return inputVal;
} }
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;
...@@ -388,6 +390,7 @@ public class AwacsToES3IC extends ValidatorEJB implements AwacsToES3ICRemote,Awa ...@@ -388,6 +390,7 @@ public class AwacsToES3IC extends ValidatorEJB implements AwacsToES3ICRemote,Awa
catch (Exception ex) catch (Exception ex)
{ {
ex.printStackTrace(); ex.printStackTrace();
throw new ITMException(ex); //Added By Mukesh Chauhan on 02/08/19
} }
return msgType; return msgType;
} }
......
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