*/
public static RuntimeException getMultipleException(Throwable cause) {
if (context.errors == null || context.errors.size() == 0) {
return ExceptionWrapper.wrapWithRuntimeException(cause);
}
MultipleException exception = new MultipleException(cause);
for (Throwable e : context.errors) {
exception.addException(e);
}
return exception;
}