code: private void _deleteSet(SIMessageHandle[] msgHandles, SITransaction tran)
        throws SISessionUnavailableException, SISessionDroppedException,
               SIConnectionUnavailableException, SIConnectionDroppedException,
               SIResourceException, SIConnectionLostException, SILimitExceededException,
               SIIncorrectCallException, SIMessageNotLockedException,
               SIErrorException
     {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "_deleteSet",
                                             new Object[] { msgHandles.length + " msg handles", tran });
  
        if (TraceComponent.isAnyTracingEnabled()) {
          CommsLightTrace.traceMessageIds(tc, "DeleteSetMsgTrace", msgHandles);
        }
  
        CommsByteBuffer request = getCommsByteBuffer();
  
        request.putShort(getConnectionObjectID());
        request.putShort(getProxyID());
        request.putSITransaction(tran);
        request.putSIMessageHandles(msgHandles);
  
        CommsByteBuffer reply = jfapExchange(request,
                                             JFapChannelConstants.SEG_DELETE_SET,
                                             JFapChannelConstants.PRIORITY_MEDIUM,
                                             true);
  
        try
        {
           short err = reply.getCommandCompletionCode(JFapChannelConstants.SEG_DELETE_SET_R);
           if (err != CommsConstants.SI_NO_EXCEPTION)
           {
              checkFor_SISessionUnavailableException(reply, err);
              checkFor_SISessionDroppedException(reply, err);
              checkFor_SIConnectionUnavailableException(reply, err);
              checkFor_SIConnectionDroppedException(reply, err);
              checkFor_SIResourceException(reply, err);
              checkFor_SIConnectionLostException(reply, err);
              checkFor_SILimitExceededException(reply, err);
              checkFor_SIIncorrectCallException(reply, err);
              checkFor_SIMessageNotLockedException(reply, err);
              checkFor_SIErrorException(reply, err);
              defaultChecker(reply, err);
           }
        }
        finally
        {
           if (reply != null) reply.release();
        }
  
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "_deleteSet");
     }
docs: Used to delete a set of messages.
  
  @param msgHandles
  @param tran