Class UnknownSequenceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.xml.ws.WebServiceException
-
- com.sun.xml.ws.rx.RxRuntimeException
-
- com.sun.xml.ws.rx.rm.faults.AbstractSoapFaultException
-
- 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:- sequence with such
sequenceIdis not registered with a given sequence manager
<wsrm:Identifier ...> xs:anyURI </wsrm:Identifier>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
Constructors Constructor Description UnknownSequenceException(String sequenceId)Constructs an instance ofNoSuchSequenceExceptionfor the sequence withsequenceIdidentifier.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractSoapFaultException.CodegetCode()jakarta.xml.soap.DetailgetDetail(RuntimeContext rc)StringgetSequenceId()Returns the identifier of the unknown sequenceQNamegetSubcode(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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnknownSequenceException
public UnknownSequenceException(String sequenceId)
Constructs an instance ofNoSuchSequenceExceptionfor the sequence withsequenceIdidentifier.- 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:
getCodein classAbstractSoapFaultException
-
getSubcode
public QName getSubcode(RmRuntimeVersion rv)
- Specified by:
getSubcodein classAbstractSoapFaultException
-
getDetail
public jakarta.xml.soap.Detail getDetail(RuntimeContext rc)
- Specified by:
getDetailin classAbstractSoapFaultException
-
-