com.sun.xml.ws.rx.rm.faults
Class AbstractSoapFaultException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CreateSequenceRefusedFault, InvalidAcknowledgementException, MessageNumberRolloverException, SequenceClosedException, SequenceTerminatedException, UnknownSequenceException, WsrmRequiredException

public abstract class AbstractSoapFaultException
extends RxRuntimeException

Author:
Marek Potociar
See Also:
Serialized Form

Nested Class Summary
static class AbstractSoapFaultException.Code
           
protected static class AbstractSoapFaultException.DetailBuilder
           
 
Constructor Summary
protected AbstractSoapFaultException(String exceptionMessage, String faultReasonText, boolean mustTryToDeliver)
           
protected AbstractSoapFaultException(String exceptionMessage, String faultReasonText, boolean mustTryToDeliver, Throwable cause)
           
 
Method Summary
protected  Message createSoapFaultMessage(RuntimeContext rc, boolean attachSequenceFaultElement)
           
abstract  AbstractSoapFaultException.Code getCode()
           
abstract  Detail getDetail(RuntimeContext rc)
           
protected static String getProperFaultActionForAddressingVersion(RmRuntimeVersion rmVersion, AddressingVersion addressingVersion)
          TODO javadoc
 String getReason()
           
abstract  QName getSubcode(RmRuntimeVersion rv)
           
 boolean mustTryToDeliver()
           
 Packet toRequest(RuntimeContext rc)
           
 Packet toResponse(RuntimeContext rc, Packet request)
           
 
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

AbstractSoapFaultException

protected AbstractSoapFaultException(String exceptionMessage,
                                     String faultReasonText,
                                     boolean mustTryToDeliver,
                                     Throwable cause)

AbstractSoapFaultException

protected AbstractSoapFaultException(String exceptionMessage,
                                     String faultReasonText,
                                     boolean mustTryToDeliver)
Method Detail

getCode

public abstract AbstractSoapFaultException.Code getCode()

getSubcode

public abstract QName getSubcode(RmRuntimeVersion rv)

getReason

public final String getReason()

getDetail

public abstract Detail getDetail(RuntimeContext rc)

mustTryToDeliver

public boolean mustTryToDeliver()

toRequest

public Packet toRequest(RuntimeContext rc)

toResponse

public Packet toResponse(RuntimeContext rc,
                         Packet request)

createSoapFaultMessage

protected final Message createSoapFaultMessage(RuntimeContext rc,
                                               boolean attachSequenceFaultElement)

getProperFaultActionForAddressingVersion

protected static String getProperFaultActionForAddressingVersion(RmRuntimeVersion rmVersion,
                                                                 AddressingVersion addressingVersion)
TODO javadoc

Returns:


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