code: @Override
      public final void exceptionCaught(NextFilter nextFilter, IoSession session,
              Throwable cause) {
          if (eventTypes.contains(IoEventType.EXCEPTION_CAUGHT)) {
              IoFilterEvent event = new IoFilterEvent(nextFilter,
                  IoEventType.EXCEPTION_CAUGHT, session, cause); 
              fireEvent(event);
          } else {
              nextFilter.exceptionCaught(session, cause);
          }
      }
docs: {@inheritDoc}