/** Closes the previously opened file. */ protected void closeFile() { if(this.qw != null) { try { this.qw.close(); } catch(java.io.IOException e) { if (e instanceof InterruptedIOException) { Thread.currentThread().interrupt(); } // Exceptionally, it does not make sense to delegate to an // ErrorHandler. Since a closed appender is basically dead. LogLog.error("Could not close " + qw, e); } } }
/** * Close the underlying {@link java.io.Writer}. * */ protected void closeWriter() { if(qw != null) { try { qw.close(); } catch(IOException e) { if (e instanceof InterruptedIOException) { Thread.currentThread().interrupt(); } // There is do need to invoke an error handler at this late // stage. LogLog.error("Could not close " + qw, e); } } }
/** * Close the underlying {@link java.io.Writer}. * */ protected void closeWriter() { if(qw != null) { try { qw.close(); } catch(IOException e) { if (e instanceof InterruptedIOException) { Thread.currentThread().interrupt(); } // There is do need to invoke an error handler at this late // stage. LogLog.error("Could not close " + qw, e); } } }
/** Closes the previously opened file. */ protected void closeFile() { if(this.qw != null) { try { this.qw.close(); } catch(java.io.IOException e) { if (e instanceof InterruptedIOException) { Thread.currentThread().interrupt(); } // Exceptionally, it does not make sense to delegate to an // ErrorHandler. Since a closed appender is basically dead. LogLog.error("Could not close " + qw, e); } } }
/** * Close the underlying {@link java.io.Writer}. * */ protected void closeWriter() { if(qw != null) { try { qw.close(); } catch(IOException e) { if (e instanceof InterruptedIOException) { Thread.currentThread().interrupt(); } // There is do need to invoke an error handler at this late // stage. LogLog.error("Could not close " + qw, e); } } }
/** * Close the underlying {@link java.io.Writer}. * */ protected void closeWriter() { if(qw != null) { try { qw.close(); } catch(IOException e) { if (e instanceof InterruptedIOException) { Thread.currentThread().interrupt(); } // There is do need to invoke an error handler at this late // stage. LogLog.error("Could not close " + qw, e); } } }
/** Closes the previously opened file. */ protected void closeFile() { if(this.qw != null) { try { this.qw.close(); } catch(java.io.IOException e) { if (e instanceof InterruptedIOException) { Thread.currentThread().interrupt(); } // Exceptionally, it does not make sense to delegate to an // ErrorHandler. Since a closed appender is basically dead. LogLog.error("Could not close " + qw, e); } } }
/** Closes the previously opened file. */ protected void closeFile() { if(this.qw != null) { try { this.qw.close(); } catch(java.io.IOException e) { if (e instanceof InterruptedIOException) { Thread.currentThread().interrupt(); } // Exceptionally, it does not make sense to delegate to an // ErrorHandler. Since a closed appender is basically dead. LogLog.error("Could not close " + qw, e); } } }