com.sun.xml.ws.rm.faults
Class AbstractRmSoapFault

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sun.xml.ws.rm.RxException
              extended by com.sun.xml.ws.rm.faults.AbstractRmSoapFault
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CreateSequenceRefusedFault, SequenceClosedFault, SequenceTerminatedFault, UnknownSequenceFault

public abstract class AbstractRmSoapFault
extends RxException

See Also:
Serialized Form

Constructor Summary
AbstractRmSoapFault(com.sun.xml.ws.api.message.Packet soapFaultResponse, java.lang.String reason)
           
AbstractRmSoapFault(RxConfiguration configuration, com.sun.xml.ws.api.message.Packet request, javax.xml.namespace.QName subcode, java.lang.String reason)
           
 
Method Summary
protected static com.sun.xml.ws.api.message.Packet createCreateSequenceProcessingSoapFaultResponse(RxConfiguration configuration, com.sun.xml.ws.api.message.Packet request, javax.xml.namespace.QName subcode, java.lang.String reason)
          Creates a SOAP fault response that occured while processing the CreateSequence request message
protected static com.sun.xml.ws.api.message.Packet createRmProcessingSoapFaultResponse(RxConfiguration configuration, com.sun.xml.ws.api.message.Packet request, javax.xml.namespace.QName subcode, java.lang.String reason)
          Creates a SOAP fault response that occured while processing the RM headers of a request
 com.sun.xml.ws.api.message.Packet getSoapFaultResponse()
           
 
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

AbstractRmSoapFault

public AbstractRmSoapFault(RxConfiguration configuration,
                           com.sun.xml.ws.api.message.Packet request,
                           javax.xml.namespace.QName subcode,
                           java.lang.String reason)

AbstractRmSoapFault

public AbstractRmSoapFault(com.sun.xml.ws.api.message.Packet soapFaultResponse,
                           java.lang.String reason)
Method Detail

getSoapFaultResponse

public com.sun.xml.ws.api.message.Packet getSoapFaultResponse()

createRmProcessingSoapFaultResponse

protected static com.sun.xml.ws.api.message.Packet createRmProcessingSoapFaultResponse(RxConfiguration configuration,
                                                                                       com.sun.xml.ws.api.message.Packet request,
                                                                                       javax.xml.namespace.QName subcode,
                                                                                       java.lang.String reason)
                                                                                throws RxRuntimeException
Creates a SOAP fault response that occured while processing the RM headers of a request

Parameters:
requestPacket - the request that caused the fault
subcode - WS-RM specific code FQN as defined in the WS-RM specification
reason - English language reason element
Returns:
response packet filled with a generated SOAP fault
Throws:
RxRuntimeException - in case of any errors while creating the SOAP fault response packet

createCreateSequenceProcessingSoapFaultResponse

protected static com.sun.xml.ws.api.message.Packet createCreateSequenceProcessingSoapFaultResponse(RxConfiguration configuration,
                                                                                                   com.sun.xml.ws.api.message.Packet request,
                                                                                                   javax.xml.namespace.QName subcode,
                                                                                                   java.lang.String reason)
                                                                                            throws RxRuntimeException
Creates a SOAP fault response that occured while processing the CreateSequence request message

Parameters:
requestPacket - the request that caused the fault
subcode - WS-RM specific code FQN as defined in the WS-RM specification
reason - English language reason element
Returns:
response packet filled with a generated SOAP fault
Throws:
RxRuntimeException - in case of any errors while creating the SOAP fault response packet