ostream.close();
ostream = null;
istream.close();
istream = null;
}
<BUG>} catch (Exception e) {

if (ostream != null) {</BUG>
try {
ostream.close();

ostream.close();
ostream = null;
istream.close();
istream = null;
}
} catch (IOException e) {
} finally {
if (ostream != null) {
try {
ostream.close();
