/** * Generates the request ID. * * @return the request ID. * * @throws ModuleException if there were errors generating the request ID. */ private static RequestID generateRequestID() throws ModuleException { try { return new RequestID(sIDFactory.getNext()); } catch (NoMoreIDsException e) { throw new ModuleException(e, Messages.UNABLE_GENERATE_REQUEST_ID); } }