Class TaskManagerExceptionUtils


  • public class TaskManagerExceptionUtils
    extends Object
    Exception utils to handle and enrich exceptions occurring in TaskManager.
    • 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.