org.codehaus.xfire.handler
Class DefaultFaultHandler
java.lang.Object
org.codehaus.xfire.handler.AbstractHandler
org.codehaus.xfire.handler.DefaultFaultHandler
- All Implemented Interfaces:
- Handler
public class DefaultFaultHandler
- extends AbstractHandler
Responsible for taking an exception, turning it into a Fault, then sending
(and logging) that fault to the appropriate location.
- Author:
- Dan Diephouse
Field Summary |
static java.lang.String |
EXCEPTION
|
Fields inherited from interface org.codehaus.xfire.handler.Handler |
ROLE |
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 |
EXCEPTION
public static final java.lang.String EXCEPTION
- See Also:
- Constant Field Values
DefaultFaultHandler
public DefaultFaultHandler()
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
sendToDeadLetter
protected void sendToDeadLetter(XFireFault fault,
MessageContext context)
sendFault
protected void sendFault(XFireFault fault,
MessageContext context)
Copyright © 2004-2009. All Rights Reserved.