Commit b266a10c authored by ssalve's avatar ssalve

Done changes to correct finally block on 14NOV2017

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@173485 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ba5e13da
...@@ -464,6 +464,8 @@ public class LocationMaster extends ValidatorEJB implements ...@@ -464,6 +464,8 @@ public class LocationMaster extends ValidatorEJB implements
} }
//Added by sarita on 13NOV2017 //Added by sarita on 13NOV2017
finally finally
{
try
{ {
if (pstmt != null) if (pstmt != null)
{ {
...@@ -476,6 +478,11 @@ public class LocationMaster extends ValidatorEJB implements ...@@ -476,6 +478,11 @@ public class LocationMaster extends ValidatorEJB implements
rs = null; rs = null;
} }
} }
catch(Exception e)
{
e.printStackTrace();
}
}
return errString; return errString;
} }
...@@ -553,6 +560,8 @@ public class LocationMaster extends ValidatorEJB implements ...@@ -553,6 +560,8 @@ public class LocationMaster extends ValidatorEJB implements
} }
//Added by sarita on 13NOV2017 //Added by sarita on 13NOV2017
finally finally
{
try
{ {
if (pstmt != null) if (pstmt != null)
{ {
...@@ -565,8 +574,11 @@ public class LocationMaster extends ValidatorEJB implements ...@@ -565,8 +574,11 @@ public class LocationMaster extends ValidatorEJB implements
rs = null; rs = null;
} }
} }
catch(Exception e)
{
e.printStackTrace();
} }
return errString; return errString;
} }
public void callPstRs(PreparedStatement pstmt, ResultSet rs) { public void callPstRs(PreparedStatement pstmt, ResultSet rs) {
......
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