public void actionRemoveRequestFromQueue(String ridStr) {
if (queueModel != null && poaModel != null) {
try {
ServerRequest request = queueModel.getElementAndRemove(Integer.parseInt(ridStr));
if (request == null) throw new ApplicationError("error: rid " + ridStr + " is not contained in queue");
poaModel.getRequestController().rejectRequest(request, new org.omg.CORBA.OBJ_ADAPTER());
} catch (Throwable e) {
printMessage("Exception occurred in removeRequestFromQueue() of POAMonitor: "+e);
}
}