@InterfaceAudience.Private @InterfaceStability.Unstable public final class RouterServerUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Modifier and Type | Method and Description |
|---|---|
static void |
logAndThrowException(String errMsg,
Throwable t)
Throws an exception due to an error.
|
@InterfaceAudience.Public @InterfaceStability.Unstable public static void logAndThrowException(String errMsg, Throwable t) throws org.apache.hadoop.yarn.exceptions.YarnException
errMsg - the error messaget - the throwable raised in the called class.org.apache.hadoop.yarn.exceptions.YarnException - on failureCopyright © 2008–2023 Apache Software Foundation. All rights reserved.