/** * Close this output stream. * * @exception SecurityException if a security manager exists and if the caller does not have * <tt>LoggingPermission("control")</tt>. */ public synchronized void close() throws SecurityException { super.close(); if (sock != null) { try { sock.close(); } catch (IOException ix) { // drop through. } } sock = null; }