org.codehaus.xfire.client
Class ClientFaultConverter

java.lang.Object
  extended by org.codehaus.xfire.handler.AbstractHandler
      extended by org.codehaus.xfire.client.ClientFaultConverter
All Implemented Interfaces:
Handler

public class ClientFaultConverter
extends AbstractHandler

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

Author:
Dan Diephouse

Field Summary
 
Fields inherited from interface org.codehaus.xfire.handler.Handler
ROLE
 
Constructor Summary
ClientFaultConverter()
           
 
Method Summary
protected  MessagePartInfo getFaultPart(OperationInfo operation, org.jdom.Element exDetail)
           
 void invoke(MessageContext context)
          Invoke a handler.
protected  void processFaultDetail(XFireFault fault, MessageContext context)
           
 
Methods inherited from class org.codehaus.xfire.handler.AbstractHandler
after, before, getAfter, getBefore, getPhase, getRoles, getUnderstoodHeaders, handleFault, setAfter, setBefore, setPhase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientFaultConverter

public ClientFaultConverter()
Method Detail

invoke

public void invoke(MessageContext context)
            throws java.lang.Exception
Description copied from interface: Handler
Invoke a handler. If a fault occurs it will be handled via the handleFault method.

Throws:
java.lang.Exception

processFaultDetail

protected void processFaultDetail(XFireFault fault,
                                  MessageContext context)
                           throws java.lang.Exception
Throws:
java.lang.Exception

getFaultPart

protected MessagePartInfo getFaultPart(OperationInfo operation,
                                       org.jdom.Element exDetail)


Copyright © 2004-2011. All Rights Reserved.