Package org.apache.flink.util
Class TaskManagerExceptionUtils
- java.lang.Object
-
- org.apache.flink.util.TaskManagerExceptionUtils
-
public class TaskManagerExceptionUtils extends Object
Exception utils to handle and enrich exceptions occurring in TaskManager.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidtryEnrichTaskManagerError(Throwable root)Tries to enrich the passed exception or its causes with additional information.
-
-
-
Method Detail
-
tryEnrichTaskManagerError
public static void tryEnrichTaskManagerError(@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.
-
-