code: public Form getConfigurationForm() throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
          MUCOwner iq = new MUCOwner();
          iq.setTo(room);
          iq.setType(IQ.Type.get);
  
          IQ answer = connection.createStanzaCollectorAndSend(iq).nextResultOrThrow();
          return Form.getFormFrom(answer);
      }
docs: Returns the room's configuration form that the room's owner can use or <tt>null</tt> if
  no configuration is possible. The configuration form allows to set the room's language,
  enable logging, specify room's type, etc..
  
  @return the Form that contains the fields to complete together with the instrucions or
  <tt>null</tt> if no configuration is possible.
  @throws XMPPErrorException if an error occurs asking the configuration form for the room.
  @throws NoResponseException if there was no response from the server.
  @throws NotConnectedException
  @throws InterruptedException