Пример #1
0
 public void onException(IOException error) {
   // Changed this method to use a LogWriter object to actually
   // print the messages to the log, and only in case of logging
   // being active, instead of logging the message directly.
   if (logging && log.isDebugEnabled()) {
     logWriter.logReceivedException(log, error);
   }
   getTransportListener().onException(error);
 }