code: public <P extends Stanza> P nextResultOrThrow() throws NoResponseException, XMPPErrorException,
                      InterruptedException, NotConnectedException {
          return nextResultOrThrow(connection.getReplyTimeout());
      }
docs: Returns the next available stanza. The method in equivalent to
  {@link #nextResultOrThrow(long)} where the timeout argument is the default reply timeout of
  the connection associated with this collector.
  
  @param <P> type of the result stanza.
  @return the next available stanza.
  @throws XMPPErrorException in case an error response was received.
  @throws NoResponseException if there was no response from the server.
  @throws InterruptedException
  @throws NotConnectedException
  @see #nextResultOrThrow(long)