public class SystemExceptionListener extends Object
SystemExceptionHandler.| Constructor and Description |
|---|
SystemExceptionListener(MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertNotInvoked()
Asserts that the system exception handler was not invoked.
|
SystemExceptionListener |
setNumberOfExecutionsRequired(int numberOfExecutionsRequired) |
SystemExceptionListener |
setTimeoutInMillis(int timeout) |
SystemExceptionListener |
waitUntilAllNotificationsAreReceived() |
public SystemExceptionListener(MuleContext muleContext)
public SystemExceptionListener waitUntilAllNotificationsAreReceived()
public SystemExceptionListener setNumberOfExecutionsRequired(int numberOfExecutionsRequired)
numberOfExecutionsRequired - number of times that the listener must be notified before releasing the latch.public SystemExceptionListener setTimeoutInMillis(int timeout)
timeout - milliseconds to wait when calling waitUntilAllNotificationsAreReceived() for an exception to be
handledpublic void assertNotInvoked()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.