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

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.UnknownSequenceException
All Implemented Interfaces:
Serializable

public final class UnknownSequenceException
extends AbstractSoapFaultException

Inicates that the sequence with given sequence identifier is not available. This exceptions is used under the following conditions:

SOAP Fault data as per WS-RM spec: Properties: [Code] Sender [Subcode] wsrm:UnknownSequence [Reason] The value of wsrm:Identifier is not a known Sequence identifier. [Detail] xs:anyURI Generated by: RM Source or RM Destination. Condition : In response to a message containing an unknown or terminated Sequence identifier. Action Upon Generation : None. Action Upon Receipt : MUST terminate the Sequence if not otherwise terminated.

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
UnknownSequenceException(String sequenceId)
          Constructs an instance of NoSuchSequenceException for the sequence with sequenceId identifier.
 
Method Summary
 AbstractSoapFaultException.Code getCode()
           
 Detail getDetail(RuntimeContext rc)
           
 String getSequenceId()
          Returns the identifier of the unknown sequence
 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

UnknownSequenceException

public UnknownSequenceException(String sequenceId)
Constructs an instance of NoSuchSequenceException for the sequence with sequenceId identifier.

Parameters:
sequenceId - the identifier of the unknown sequence.
Method Detail

getSequenceId

public String getSequenceId()
Returns the identifier of the unknown sequence

Returns:
the unknown sequence identifier

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.