code: public void addHandler(final Handler handler, final boolean wait) throws InterruptedException, CouldNotPerformException {
          try {
              listener.addHandler(handler, wait);
          } catch (CouldNotPerformException ex) {
              throw new CouldNotPerformException("Could not register Handler!", ex);
          }
      }
docs: Method adds an handler to the internal rsb listener.
  
  @param handler
  @param wait
  
  @throws InterruptedException
  @throws CouldNotPerformException