org.codehaus.xfire.xmpp
Class XMPPFaultHandler

java.lang.Object
  extended by org.codehaus.xfire.xmpp.XMPPFaultHandler
All Implemented Interfaces:
FaultHandler

public class XMPPFaultHandler
extends java.lang.Object
implements FaultHandler

Creates fault information for the response packet.

Author:
Dan Diephouse

Field Summary
static java.lang.String XMPP_ERROR
           
 
Fields inherited from interface org.codehaus.xfire.fault.FaultHandler
ROLE
 
Constructor Summary
XMPPFaultHandler()
           
 
Method Summary
 void handleFault(XFireFault fault, MessageContext context)
          Take an exception and generate a fault message which is written to the response OutputStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XMPP_ERROR

public static final java.lang.String XMPP_ERROR
See Also:
Constant Field Values
Constructor Detail

XMPPFaultHandler

public XMPPFaultHandler()
Method Detail

handleFault

public void handleFault(XFireFault fault,
                        MessageContext context)
Description copied from interface: FaultHandler
Take an exception and generate a fault message which is written to the response OutputStream. TODO: Get the correct outputstream if we are using WS-Addressing

Specified by:
handleFault in interface FaultHandler
Parameters:
e -
context -
Throws:
java.lang.Exception