private void silentClose(CloseStatus status) { try { closeInternal(status); } catch (Throwable ex) { if (logger.isWarnEnabled()) { logger.warn("Failed to close " + this, ex); } } }
@Override public void run() { try { closeInternal(new CloseStatus(2007, "Transport timed out")); } catch (Throwable ex) { if (logger.isWarnEnabled()) { logger.warn("Failed to close " + this + " after transport timeout", ex); } } } };
@Override public final void close(CloseStatus status) throws IOException { if (!isUserSetStatus(status)) { throw new IllegalArgumentException("Invalid close status: " + status); } if (logger.isDebugEnabled()) { logger.debug("Closing session with " + status + " in " + this); } closeInternal(status); }
private void silentClose(CloseStatus status) { try { closeInternal(status); } catch (Throwable ex) { if (logger.isWarnEnabled()) { logger.warn("Failed to close " + this, ex); } } }
private void silentClose(CloseStatus status) { try { closeInternal(status); } catch (Throwable ex) { if (logger.isWarnEnabled()) { logger.warn("Failed to close " + this, ex); } } }
@Override public void run() { try { closeInternal(new CloseStatus(2007, "Transport timed out")); } catch (Throwable ex) { if (logger.isWarnEnabled()) { logger.warn("Failed to close " + this + " after transport timeout", ex); } } } };
@Override public final void close(CloseStatus status) throws IOException { if (!isUserSetStatus(status)) { throw new IllegalArgumentException("Invalid close status: " + status); } if (logger.isDebugEnabled()) { logger.debug("Closing session with " + status + " in " + this); } closeInternal(status); }
@Override public final void close(CloseStatus status) throws IOException { if (!isUserSetStatus(status)) { throw new IllegalArgumentException("Invalid close status: " + status); } if (logger.isDebugEnabled()) { logger.debug("Closing session with " + status + " in " + this); } closeInternal(status); }
@Override public void run() { try { closeInternal(new CloseStatus(2007, "Transport timed out")); } catch (Throwable ex) { if (logger.isWarnEnabled()) { logger.warn("Failed to close " + this + " after transport timeout", ex); } } } };