org.mule.module.cxf
Class CxfComponentExceptionStrategy

java.lang.Object
  extended by org.mule.processor.AbstractMessageProcessorOwner
      extended by org.mule.exception.AbstractExceptionStrategy
          extended by org.mule.exception.AbstractMessagingExceptionStrategy
              extended by org.mule.exception.DefaultMessagingExceptionStrategy
                  extended by org.mule.module.cxf.CxfComponentExceptionStrategy
All Implemented Interfaces:
AnnotatedObject, FlowConstructAware, MuleContextAware, ExceptionHandler, MessagingExceptionHandler, Disposable, Initialisable, Lifecycle, Startable, Stoppable

public class CxfComponentExceptionStrategy
extends DefaultMessagingExceptionStrategy

This exception strategy forces the exception thrown from a web service invocation to be passed as-is, not wrapped in a Mule exception object. This ensures the Cxf serialiser/deserialiser can send the correct exception object to the client.


Field Summary
 
Fields inherited from class org.mule.exception.AbstractExceptionStrategy
commitTxFilter, enableNotifications, initialised, logger, messageProcessors, rollbackTxFilter
 
Fields inherited from class org.mule.processor.AbstractMessageProcessorOwner
flowConstruct, muleContext
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Fields inherited from interface org.mule.api.AnnotatedObject
PROPERTY_NAME
 
Constructor Summary
CxfComponentExceptionStrategy()
           
 
Method Summary
protected  void doHandleException(Exception e, MuleEvent event, RollbackSourceCallback rollbackMethod)
           
 
Methods inherited from class org.mule.exception.AbstractMessagingExceptionStrategy
handleException, handleException, isStopMessageProcessing, setStopMessageProcessing, stopFlow
 
Methods inherited from class org.mule.exception.AbstractExceptionStrategy
addEndpoint, closeStream, commit, doInitialise, fireNotification, fireNotification, getCommitTxFilter, getExceptionType, getMessageProcessors, getOwnedMessageProcessors, getRollbackTxFilter, initialise, isEnableNotifications, isInitialised, isRollback, logException, logFatal, removeMessageProcessor, rollback, routeException, setCommitTxFilter, setEnableNotifications, setMessageProcessors, setRollbackTxFilter
 
Methods inherited from class org.mule.processor.AbstractMessageProcessorOwner
dispose, getAnnotation, getAnnotations, setAnnotations, setFlowConstruct, setMuleContext, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CxfComponentExceptionStrategy

public CxfComponentExceptionStrategy()
Method Detail

doHandleException

protected void doHandleException(Exception e,
                                 MuleEvent event,
                                 RollbackSourceCallback rollbackMethod)
Overrides:
doHandleException in class AbstractMessagingExceptionStrategy


Copyright © 2003-2011 MuleSoft, Inc.. All Rights Reserved.