code: @Override
    public void registerErrorHandler(final EventHandler<Exception> handler) {
      this.clientEventListener.registerErrorHandler(handler);
      this.serverEventListener.registerErrorHandler(handler);
    }
docs: Registers the exception event handler.
  
  @param handler the exception event handler