org.mule.module.cxf
Class CxfComponentExceptionStrategy

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

public class CxfComponentExceptionStrategy
extends DefaultServiceExceptionStrategy

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.AbstractExceptionListener
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
 
Constructor Summary
CxfComponentExceptionStrategy(MuleContext context)
           
 
Method Summary
protected  void doHandleException(Exception e, MuleEvent event)
           
 
Methods inherited from class org.mule.exception.DefaultServiceExceptionStrategy
getFlowConstructStatistics, getServiceStatistics, isStopMessageProcessing, logFatal, routeException, setStopMessageProcessing
 
Methods inherited from class org.mule.exception.AbstractMessagingExceptionStrategy
commit, defaultHandler, handleException, rollback
 
Methods inherited from class org.mule.exception.AbstractExceptionListener
addEndpoint, closeStream, doInitialise, fireNotification, getCommitTxFilter, getExceptionType, getMessageProcessors, getOwnedMessageProcessors, getRollbackTxFilter, handleTransaction, initialise, isEnableNotifications, isInitialised, isRollback, logException, removeMessageProcessor, rollbackTransaction, setCommitTxFilter, setEnableNotifications, setMessageProcessors, setRollbackTxFilter
 
Methods inherited from class org.mule.processor.AbstractMessageProcessorOwner
dispose, setFlowConstruct, setMuleContext, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mule.api.exception.MessagingExceptionHandler
getCommitTxFilter, getRollbackTxFilter
 

Constructor Detail

CxfComponentExceptionStrategy

public CxfComponentExceptionStrategy(MuleContext context)
Method Detail

doHandleException

protected void doHandleException(Exception e,
                                 MuleEvent event)
Overrides:
doHandleException in class DefaultServiceExceptionStrategy


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