org.codehaus.xfire.fault
Class SOAP11FaultHandler

java.lang.Object
  extended by org.codehaus.xfire.fault.SOAP11FaultHandler
All Implemented Interfaces:
FaultHandler

public class SOAP11FaultHandler
extends java.lang.Object
implements FaultHandler

Creates a fault message based on an exception for SOAP 1.1 messages.

Author:
Dan Diephouse

Field Summary
static java.lang.String NAME
           
 
Fields inherited from interface org.codehaus.xfire.fault.FaultHandler
ROLE
 
Constructor Summary
SOAP11FaultHandler()
           
 
Method Summary
 void handleFault(java.lang.Exception e, 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

NAME

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

SOAP11FaultHandler

public SOAP11FaultHandler()
Method Detail

handleFault

public void handleFault(java.lang.Exception e,
                        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
See Also:
FaultHandler.handleFault(java.lang.Exception, org.codehaus.xfire.MessageContext)


Copyright © 2004 Codehaus. All Rights Reserved.