public class MultipleExecutionException extends Exception
| Constructor and Description |
|---|
MultipleExecutionException(List<?> results,
List<ExecutionException> exceptions)
Construct an exception with the (partial) results and all exceptions encountered during
execution.
|
| Modifier and Type | Method and Description |
|---|---|
List<ExecutionException> |
getExceptions()
Get all exceptions encountered during execution.
|
String |
getMessage()
Gather the stack traces for the thrown exceptions.
|
List<?> |
getResults()
Get the results obtained so far.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MultipleExecutionException(List<?> results, List<ExecutionException> exceptions)
results - the results obtained so farexceptions - all exceptions encountered during executionpublic List<?> getResults()
public List<ExecutionException> getExceptions()
public String getMessage()
getMessage in class ThrowableCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.