docs: public void moveMessages(boolean discard) throws SIMPRuntimeOperationFailedException, SIMPControllableNotFoundException
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.entry(tc, "deleteAllQueuedMessages", new Boolean(discard));
  
      assertValidControllable();
      
      SIMPRuntimeOperationFailedException runtimeException = null;
      
      SIMPIterator msgItr = getQueuedMessageIterator();
      while(msgItr.hasNext())
      {
        QueuedMessage msg = (QueuedMessage) msgItr.next();
        try
        {
          msg.moveMessage(discard);
        }
        catch (SIMPControllableNotFoundException e)
        {
          //this probably means the message was already deleted while we were
          //busy ... we'll log the exception and move on
          
          FFDCFilter.processException(
              e,
              "com.ibm.ws.sib.processor.runtime.LocalQueuePoint.deleteAllQueuedMessages",
              "1:311:1.58",
              this);
        
          SibTr.exception(tc, e);
        }
        catch (SIMPRuntimeOperationFailedException e)
        {
          //this could happen for a number of reasons. We will remember the first
          //one of these and carry on trying to delete the rest of the messages.
          
          FFDCFilter.processException(
              e,
              "com.ibm.ws.sib.processor.runtime.LocalQueuePoint.deleteAllQueuedMessages",
              "1:324:1.58",
              this);
        
          SibTr.exception(tc, e);
          
          if(runtimeException == null) runtimeException = e;
        }
      }
      
      if(runtimeException != null)
      {
          SIMPRuntimeOperationFailedException finalE =
            new SIMPRuntimeOperationFailedException(
              nls.getFormattedMessage(
                "INTERNAL_MESSAGING_ERROR_CWSIP0003",
                new Object[] {"QueuedMessage.removeMessage",
                              "1:340:1.58",
                              runtimeException,
                              id},
                null), runtimeException);
      
          SibTr.exception(tc, finalE);
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "removeMessage", finalE);
          throw finalE;
      }
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "deleteAllQueuedMessages");         
    }