public class RMFatalEvent extends org.apache.hadoop.yarn.event.AbstractEvent<RMFatalEventType>
| Constructor and Description |
|---|
RMFatalEvent(RMFatalEventType rmFatalEventType,
Exception cause)
Create a new event of the given type around the given source
Exception. |
RMFatalEvent(RMFatalEventType rmFatalEventType,
Exception cause,
String message)
Create a new event of the given type around the given source
Exception with the given cause. |
RMFatalEvent(RMFatalEventType rmFatalEventType,
String message)
Create a new event of the given type with the given cause.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExplanation()
Get a text description of the reason for the event.
|
String |
toString() |
public RMFatalEvent(RMFatalEventType rmFatalEventType, String message)
rmFatalEventType - The RMFatalEventType of the eventmessage - a text description of the reason for the eventpublic RMFatalEvent(RMFatalEventType rmFatalEventType, Exception cause)
Exception.rmFatalEventType - The RMFatalEventType of the eventcause - the source exceptionpublic RMFatalEvent(RMFatalEventType rmFatalEventType, Exception cause, String message)
Exception with the given cause.rmFatalEventType - The RMFatalEventType of the eventcause - the source exceptionmessage - a text description of the reason for the eventpublic String getExplanation()
Exception will be converted to a String and included in
the result.public String toString()
toString in interface org.apache.hadoop.yarn.event.Event<RMFatalEventType>toString in class org.apache.hadoop.yarn.event.AbstractEvent<RMFatalEventType>Copyright © 2008–2022 Apache Software Foundation. All rights reserved.