public class TestExceptionStrategy extends Object implements MessagingExceptionHandler, SystemExceptionHandler
| Modifier and Type | Class and Description |
|---|---|
static interface |
TestExceptionStrategy.ExceptionCallback |
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger
logger used by this class
|
| Constructor and Description |
|---|
TestExceptionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
String |
getTestProperty() |
void |
handleException(Exception exception) |
Event |
handleException(Exception exception,
Event event,
RollbackSourceCallback rollbackMethod) |
void |
handleException(Exception exception,
RollbackSourceCallback rollbackMethod) |
Event |
handleException(MessagingException exception,
Event event) |
protected void |
processUnhandled() |
void |
setExceptionCallback(TestExceptionStrategy.ExceptionCallback exceptionCallback) |
void |
setTestProperty(String testProperty) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplypublic String getTestProperty()
public void setTestProperty(String testProperty)
public Event handleException(Exception exception, Event event, RollbackSourceCallback rollbackMethod)
public Event handleException(MessagingException exception, Event event)
handleException in interface MessagingExceptionHandlerpublic void handleException(Exception exception, RollbackSourceCallback rollbackMethod)
handleException in interface SystemExceptionHandlerpublic void handleException(Exception exception)
handleException in interface SystemExceptionHandlerpublic void setExceptionCallback(TestExceptionStrategy.ExceptionCallback exceptionCallback)
protected void processUnhandled()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.