com.sun.xml.ws.rx.rm.runtime.sequence
Class InvalidAcknowledgementException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.xml.ws.WebServiceException
                  extended by com.sun.xml.ws.rx.RxRuntimeException
                      extended by com.sun.xml.ws.rx.rm.faults.AbstractSoapFaultException
                          extended by com.sun.xml.ws.rx.rm.runtime.sequence.InvalidAcknowledgementException
All Implemented Interfaces:
Serializable

public final class InvalidAcknowledgementException
extends AbstractSoapFaultException

An example of when this fault is generated is when a message is Received by the RM Source containing a SequenceAcknowledgement covering messages that have not been sent. Properties: [Code] Sender [Subcode] wsrm:InvalidAcknowledgement [Reason] The SequenceAcknowledgement violates the cumulative Acknowledgement invariant. [Detail] ... Generated by: RM Source. Condition : In response to a SequenceAcknowledgement that violate the invariants stated in 2.3 or any of the requirements in 3.9 about valid combinations of AckRange, Nack and None in a single SequenceAcknowledgement element or with respect to already Received such elements. Action Upon Generation : Unspecified. Action Upon Receipt : Unspecified.

Author:
Marek Potociar (marek.potociar at sun.com)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.xml.ws.rx.rm.faults.AbstractSoapFaultException
AbstractSoapFaultException.Code, AbstractSoapFaultException.DetailBuilder
 
Constructor Summary
InvalidAcknowledgementException(String sequenceId, long messageIdentifier, List<Sequence.AckRange> ackedRanges)
           
 
Method Summary
 AbstractSoapFaultException.Code getCode()
           
 Detail getDetail(RuntimeContext rc)
           
 QName getSubcode(RmRuntimeVersion rv)
           
 
Methods inherited from class com.sun.xml.ws.rx.rm.faults.AbstractSoapFaultException
createSoapFaultMessage, getProperFaultActionForAddressingVersion, getReason, mustTryToDeliver, toRequest, toResponse
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidAcknowledgementException

public InvalidAcknowledgementException(String sequenceId,
                                       long messageIdentifier,
                                       List<Sequence.AckRange> ackedRanges)
Method Detail

getCode

public AbstractSoapFaultException.Code getCode()
Specified by:
getCode in class AbstractSoapFaultException

getSubcode

public QName getSubcode(RmRuntimeVersion rv)
Specified by:
getSubcode in class AbstractSoapFaultException

getDetail

public Detail getDetail(RuntimeContext rc)
Specified by:
getDetail in class AbstractSoapFaultException


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.