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