Apache CXF API

org.apache.cxf.interceptor
Class ClientFaultConverter

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
      extended by org.apache.cxf.interceptor.ClientFaultConverter
All Implemented Interfaces:
Interceptor<Message>, PhaseInterceptor<Message>

public class ClientFaultConverter
extends AbstractPhaseInterceptor<Message>

Takes a Fault and converts it to a local exception type if possible.

Author:
Dan Diephouse

Field Summary
static String DISABLE_FAULT_MAPPING
           
 
Constructor Summary
ClientFaultConverter()
           
ClientFaultConverter(String phase)
           
 
Method Summary
 void handleMessage(Message msg)
          Intercepts a message.
protected  void processFaultDetail(Fault fault, Message msg)
           
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISABLE_FAULT_MAPPING

public static final String DISABLE_FAULT_MAPPING
See Also:
Constant Field Values
Constructor Detail

ClientFaultConverter

public ClientFaultConverter()

ClientFaultConverter

public ClientFaultConverter(String phase)
Method Detail

handleMessage

public void handleMessage(Message msg)
Description copied from interface: Interceptor
Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.


processFaultDetail

protected void processFaultDetail(Fault fault,
                                  Message msg)

Apache CXF API

Apache CXF