* @param lastMessage true if this is to be the last message in the sequence
*/
void acknowledge(BigInteger messageNumber) throws SequenceFault {
if (null != lastMessageNumber && messageNumber.compareTo(lastMessageNumber) > 0) {
SequenceFaultType sf = RMUtils.getWSRMFactory().createSequenceFaultType();
sf.setFaultCode(RMUtils.getRMConstants().getLastMessageNumberExceededFaultCode());
Message msg = new Message("LAST_MESSAGE_NUMBER_EXCEEDED_EXC", LOG, this);
throw new SequenceFault(msg.toString(), sf);
}
monitor.acknowledgeMessage();