Class ClusterEntryPointExceptionUtils
- java.lang.Object
-
- org.apache.flink.runtime.entrypoint.ClusterEntryPointExceptionUtils
-
public class ClusterEntryPointExceptionUtils extends Object
Exception utils to handle and enrich exceptions occurring in the ClusterEntrypoint.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidtryEnrichClusterEntryPointError(Throwable root)Tries to enrich the passed exception or its causes with additional information.
-
-
-
Method Detail
-
tryEnrichClusterEntryPointError
public static void tryEnrichClusterEntryPointError(@Nullable Throwable root)Tries to enrich the passed exception or its causes with additional information.This method improves error messages for direct and metaspace
OutOfMemoryError. It adds descriptions about possible causes and ways of resolution.- Parameters:
root- The Throwable of which the cause tree shall be traversed.
-
-