public class SerializedExceptionPBImpl extends SerializedException
| Constructor and Description |
|---|
SerializedExceptionPBImpl() |
SerializedExceptionPBImpl(YarnProtos.SerializedExceptionProto proto) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
deSerialize()
Deserialize the exception to a new Throwable.
|
SerializedException |
getCause()
Get the cause of this exception or null if the cause is nonexistent or
unknown.
|
String |
getMessage()
Get the detail message string of this exception.
|
YarnProtos.SerializedExceptionProto |
getProto() |
String |
getRemoteTrace()
Get the backtrace of this exception.
|
void |
init(String message)
Constructs a new
SerializedException with the specified detail
message. |
void |
init(String message,
Throwable t)
Constructs a new
SerializedException with the specified detail
message and cause. |
void |
init(Throwable t)
Constructs a new
SerializedException with the specified cause. |
newInstancepublic SerializedExceptionPBImpl()
public SerializedExceptionPBImpl(YarnProtos.SerializedExceptionProto proto)
public void init(String message)
SerializedExceptionSerializedException with the specified detail
message.init in class SerializedExceptionpublic void init(Throwable t)
SerializedExceptionSerializedException with the specified cause.init in class SerializedExceptionpublic void init(String message, Throwable t)
SerializedExceptionSerializedException with the specified detail
message and cause.init in class SerializedExceptionpublic Throwable deSerialize()
SerializedExceptiondeSerialize in class SerializedExceptionpublic String getMessage()
SerializedExceptiongetMessage in class SerializedExceptionpublic String getRemoteTrace()
SerializedExceptiongetRemoteTrace in class SerializedExceptionpublic SerializedException getCause()
SerializedExceptiongetCause in class SerializedExceptionpublic YarnProtos.SerializedExceptionProto getProto()
Copyright © 2013 Apache Software Foundation. All rights reserved.