public class TaskManagerExceptionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Throwable |
tryEnrichTaskManagerError(Throwable exception)
Tries to enrich the passed exception with additional information.
|
@Nullable public static Throwable tryEnrichTaskManagerError(@Nullable Throwable exception)
This method improves error message for direct and metaspace OutOfMemoryError
.
It adds description of possible causes and ways of resolution.
exception
- exception to enrich if not null
null
if the argument was null
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.