Blackberry JAVA DEVELOPMENT ENVIRONMENT - - CRYPTOGRAPHIC SMART CARD DRIVER - DEVELOPMENT GUIDE Průvodce řešením problémů Strana 220

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 286
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 219
220
BlackBerry Java Development Environment Development Guide
input.close();
stream.close();
data = db.getArray();
} catch (IOException e1) {
// a problem occurred with the input stream
// however, the original StreamConnectionNotifier is still valid
System.err.println(e1.toString());
if ( input != null ) {
try {
input.close();
} catch (IOException e2) {
}
}
if ( stream != null ) {
try {
stream.close();
} catch (IOException e2) {
}
}
}
}
_notify.close();
_notify = null;
} catch (IOException ioe)
{
// likely the stream was closed
System.err.println(ioe.toString());
if ( _notify != null ) {
try {
_notify.close();
_notify = null;
} catch ( IOException e ) {
}
}
}
}
}
}
private final class HTTPMainScreen extends MainScreen
{
public void close() {
// Stop the listening thread.
_listeningThread.stop();
try {
_listeningThread.join();
} catch (InterruptedException e) {
System.err.println(e.toString());
}
super.close();
Zobrazit stránku 219
1 2 ... 215 216 217 218 219 220 221 222 223 224 225 ... 285 286

Komentáře k této Příručce

Žádné komentáře