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. |
newInstance
public SerializedExceptionPBImpl()
public SerializedExceptionPBImpl(YarnProtos.SerializedExceptionProto proto)
public void init(String message)
SerializedException
SerializedException
with the specified detail
message.init
in class SerializedException
public void init(Throwable t)
SerializedException
SerializedException
with the specified cause.init
in class SerializedException
public void init(String message, Throwable t)
SerializedException
SerializedException
with the specified detail
message and cause.init
in class SerializedException
public Throwable deSerialize()
SerializedException
deSerialize
in class SerializedException
public String getMessage()
SerializedException
getMessage
in class SerializedException
public String getRemoteTrace()
SerializedException
getRemoteTrace
in class SerializedException
public SerializedException getCause()
SerializedException
getCause
in class SerializedException
public YarnProtos.SerializedExceptionProto getProto()
Copyright © 2013 Apache Software Foundation. All rights reserved.