Class ExceptionsHelper
java.lang.Object
org.opensearch.nio.utils.ExceptionsHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Throwable>
voidrethrowAndSuppress(List<T> exceptions) Rethrows the first exception in the list and adds all remaining to the suppressed list.
-
Constructor Details
-
ExceptionsHelper
public ExceptionsHelper()
-
-
Method Details
-
rethrowAndSuppress
-