| Package | Description |
|---|---|
| org.mule.runtime.core.api.util |
| Modifier and Type | Method and Description |
|---|---|
static <T,E extends Exception> |
ExceptionUtils.tryExpecting(Class<E> expectedExceptionType,
Callable<T> callable,
ExceptionHandler<T,E> exceptionHandler)
|
static <T,E extends Exception> |
ClassUtils.withContextClassLoader(ClassLoader classLoader,
Callable<T> callable,
Class<E> expectedExceptionType,
ExceptionHandler<T,E> exceptionHandler)
Executes the given
callable using the given classLoader as the current Thread's context classloader. |
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.