com.sun.xml.ws.rx.rm.runtime.sequence
Class UnknownSequenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.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
sequenceId is not registered with a given sequence manager
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
|
Constructor Summary |
UnknownSequenceException(String sequenceId)
Constructs an instance of NoSuchSequenceException for the sequence with sequenceId identifier. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnknownSequenceException
public UnknownSequenceException(String sequenceId)
- Constructs an instance of
NoSuchSequenceException for the sequence with sequenceId identifier.
- Parameters:
sequenceId - the identifier of the unknown sequence.
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.