code: public void deleteCurrent(SITransaction simpTran)
    throws SISessionUnavailableException, SISessionDroppedException,
           SIIncorrectCallException,
           SIErrorException
    {
      if (TraceComponent.isAnyTracingEnabled() && CoreSPILockedMessageEnumeration.tc.isEntryEnabled())
        SibTr.entry(CoreSPILockedMessageEnumeration.tc, "deleteCurrent", this);
        
      checkValidState("deleteCurrent");
      
      _localConsumerPoint.checkNotClosed();
      
      if (!_messageAvailable)
      {
        if (TraceComponent.isAnyTracingEnabled() && CoreSPILockedMessageEnumeration.tc.isEntryEnabled())
          SibTr.exit(CoreSPILockedMessageEnumeration.tc, "deleteCurrent", "Invalid current Message");
          
        throw new SIIncorrectCallException(
          nls.getFormattedMessage("INVALID_MESSAGE_ERROR_CWSIP0191", 
            new Object[] { _localConsumerPoint.getConsumerManager().getDestination().getName(),
              _localConsumerPoint.getConsumerManager().getMessageProcessor().getMessagingEngineName() }, 
            null));
      }
      
      _singleMessage = null;
      _messageAvailable = false;
      
      if (TraceComponent.isAnyTracingEnabled() && CoreSPILockedMessageEnumeration.tc.isEntryEnabled())
        SibTr.exit(CoreSPILockedMessageEnumeration.tc, "deleteCurrent");
    }
docs: /* (non-Javadoc)
  @see com.ibm.wsspi.sib.core.LockedMessageEnumeration#deleteCurrent(com.ibm.wsspi.sib.core.SITransaction)