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) |
InternalEvent |
handleException(Exception exception,
InternalEvent event,
RollbackSourceCallback rollbackMethod) |
void |
handleException(Exception exception,
RollbackSourceCallback rollbackMethod) |
InternalEvent |
handleException(MessagingException exception,
InternalEvent 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 InternalEvent handleException(Exception exception, InternalEvent event, RollbackSourceCallback rollbackMethod)
public InternalEvent handleException(MessagingException exception, InternalEvent 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.