org.mule.module.cxf
Class CxfComponentExceptionStrategy

java.lang.Object
  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:
MuleContextAware, MessagingExceptionHandler, Disposable, Initialisable

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, muleContext, rollbackTxFilter
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
CxfComponentExceptionStrategy(MuleContext context)
           
 
Method Summary
protected  void defaultHandler(java.lang.Throwable t)
           
 
Methods inherited from class org.mule.exception.DefaultServiceExceptionStrategy
getServiceStatistics, logFatal, routeException
 
Methods inherited from class org.mule.exception.AbstractMessagingExceptionStrategy
handleException, handleLifecycleException, handleMessagingException, handleRoutingException, handleStandardException, messageFromContextIfAvailable
 
Methods inherited from class org.mule.exception.AbstractExceptionListener
addEndpoint, closeStream, createOutboundRouter, dispose, doInitialise, fireNotification, getCommitTxFilter, getExceptionType, getMessageProcessors, getMessageProcessors, getRollbackTxFilter, handleTransaction, initialise, isEnableNotifications, isInitialised, logException, removeMessageProcessor, rollbackTransaction, setCommitTxFilter, setEnableNotifications, setMessageProcessors, setMuleContext, setRollbackTxFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CxfComponentExceptionStrategy

public CxfComponentExceptionStrategy(MuleContext context)
Method Detail

defaultHandler

protected void defaultHandler(java.lang.Throwable t)
Overrides:
defaultHandler in class DefaultServiceExceptionStrategy


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