throws a runtime exception with all given exceptions added as suppressed . if the given list is empty no exception is thrown concode_field_sep String reason concode_elem_sep ESLogger logger concode_elem_sep Class<? extends Throwable> causeType concode_elem_sep String index concode_field_sep IOException unwrapCorruption concode_elem_sep Throwable unwrapCause concode_elem_sep ElasticsearchException convertToElastic concode_elem_sep boolean reThrowIfNotNull concode_elem_sep void rethrowAndSuppress concode_elem_sep ShardOperationFailedException[] groupBy concode_elem_sep Throwable unwrap concode_elem_sep String detailedMessage concode_elem_sep String detailedMessage concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep RuntimeException convertToRuntime concode_elem_sep T useOrSuppress concode_elem_sep String stackTrace concode_elem_sep boolean isOOM concode_elem_sep RestStatus status
void function ( List < T > arg0 ) { T loc0 = null ; for ( T loc1 : arg0 ) { loc0 = useOrSuppress ( loc0 , loc1 ) ; } if ( loc0 != null ) { throw new ElasticsearchException ( loc0 . getMessage ( ) , loc0 ) ; } }