Commit 877a8f0d authored by prane's avatar prane

on valData conn closed


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@185377 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 86bcd503
......@@ -188,6 +188,32 @@ public class RecPayXfrIC extends ValidatorEJB implements RecPayXfrICRemote, RecP
System.out.println ( "Exception: RecPayXfrIC: wfValData( Document currFormDataDom ): " + e.getMessage() + ":" );
e.printStackTrace();
throw new ITMException(e);
}finally
{
try
{
if(conn != null)
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
conn.close();
}
conn = null;
}
catch(Exception d)
{
d.printStackTrace();
throw new ITMException(d);
}
}
return errStringXml.toString();
......
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