org.mule.module.apikit
Class MappingExceptionListener

java.lang.Object
  extended by org.mule.processor.AbstractMuleObjectOwner<org.mule.api.processor.MessageProcessor>
      extended by org.mule.processor.AbstractMessageProcessorOwner
          extended by org.mule.exception.AbstractExceptionListener
              extended by org.mule.exception.TemplateMessagingExceptionStrategy
                  extended by org.mule.exception.CatchMessagingExceptionStrategy
                      extended by org.mule.module.apikit.MappingExceptionListener
All Implemented Interfaces:
org.mule.api.Acceptor, org.mule.api.AnnotatedObject, org.mule.api.construct.FlowConstructAware, org.mule.api.context.MuleContextAware, org.mule.api.exception.ExceptionHandler, org.mule.api.exception.MessagingExceptionHandler, org.mule.api.exception.MessagingExceptionHandlerAcceptor, org.mule.api.GlobalNameableObject, org.mule.api.lifecycle.Disposable, org.mule.api.lifecycle.Initialisable, org.mule.api.lifecycle.Lifecycle, org.mule.api.lifecycle.Startable, org.mule.api.lifecycle.Stoppable, org.mule.api.processor.MessageProcessorContainer

public class MappingExceptionListener
extends org.mule.exception.CatchMessagingExceptionStrategy


Field Summary
 
Fields inherited from class org.mule.exception.AbstractExceptionListener
commitTxFilter, enableNotifications, globalName, initialised, logger, messageProcessors, rollbackTxFilter
 
Fields inherited from class org.mule.processor.AbstractMuleObjectOwner
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
MappingExceptionListener()
           
 
Method Summary
 boolean accept(org.mule.api.MuleEvent event)
           
protected  org.mule.api.MuleEvent afterRouting(Exception exception, org.mule.api.MuleEvent event)
           
 void setExceptions(List<String> exceptions)
           
 void setStatusCode(int statusCode)
           
 String toString()
           
 
Methods inherited from class org.mule.exception.CatchMessagingExceptionStrategy
beforeRouting, nullifyExceptionPayloadIfRequired
 
Methods inherited from class org.mule.exception.TemplateMessagingExceptionStrategy
acceptsAll, acceptsEvent, doInitialise, handleException, markExceptionAsHandled, processReplyTo, route, setHandleException, setWhen
 
Methods inherited from class org.mule.exception.AbstractExceptionListener
addEndpoint, closeStream, commit, fireNotification, fireNotification, getCommitTxFilter, getExceptionType, getGlobalName, getMessageProcessors, getOwnedMessageProcessors, getRollbackTxFilter, handleTransaction, initialise, isEnableNotifications, isInitialised, isRollback, logException, logFatal, removeMessageProcessor, rollback, rollback, rollbackTransaction, routeException, routeException, setCommitTxFilter, setEnableNotifications, setGlobalName, setMessageProcessors, setRollbackTxFilter
 
Methods inherited from class org.mule.processor.AbstractMessageProcessorOwner
addMessageProcessorPathElements, getAnnotation, getAnnotations, getOwnedObjects, setAnnotations
 
Methods inherited from class org.mule.processor.AbstractMuleObjectOwner
dispose, getFlowConstruct, getMuleContext, setFlowConstruct, setMuleContext, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mule.api.lifecycle.Startable
start
 
Methods inherited from interface org.mule.api.lifecycle.Stoppable
stop
 
Methods inherited from interface org.mule.api.lifecycle.Disposable
dispose
 
Methods inherited from interface org.mule.api.context.MuleContextAware
setMuleContext
 
Methods inherited from interface org.mule.api.construct.FlowConstructAware
setFlowConstruct
 

Constructor Detail

MappingExceptionListener

public MappingExceptionListener()
Method Detail

setStatusCode

public void setStatusCode(int statusCode)

setExceptions

public void setExceptions(List<String> exceptions)

accept

public boolean accept(org.mule.api.MuleEvent event)
Specified by:
accept in interface org.mule.api.Acceptor
Overrides:
accept in class org.mule.exception.TemplateMessagingExceptionStrategy

afterRouting

protected org.mule.api.MuleEvent afterRouting(Exception exception,
                                              org.mule.api.MuleEvent event)
Overrides:
afterRouting in class org.mule.exception.CatchMessagingExceptionStrategy

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All rights reserved.