org.apache.hadoop.yarn.api.records.impl.pb
Class SerializedExceptionPBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.SerializedException
      extended by org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl

public class SerializedExceptionPBImpl
extends org.apache.hadoop.yarn.api.records.SerializedException


Constructor Summary
SerializedExceptionPBImpl()
           
SerializedExceptionPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.SerializedExceptionProto proto)
           
 
Method Summary
 Throwable deSerialize()
           
 boolean equals(Object other)
           
 org.apache.hadoop.yarn.api.records.SerializedException getCause()
           
 String getMessage()
           
 org.apache.hadoop.yarn.proto.YarnProtos.SerializedExceptionProto getProto()
           
 String getRemoteTrace()
           
 int hashCode()
           
 void init(String message)
           
 void init(String message, Throwable t)
           
 void init(Throwable t)
           
 
Methods inherited from class org.apache.hadoop.yarn.api.records.SerializedException
newInstance, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SerializedExceptionPBImpl

public SerializedExceptionPBImpl()

SerializedExceptionPBImpl

public SerializedExceptionPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.SerializedExceptionProto proto)
Method Detail

init

public void init(String message)
Specified by:
init in class org.apache.hadoop.yarn.api.records.SerializedException

init

public void init(Throwable t)
Specified by:
init in class org.apache.hadoop.yarn.api.records.SerializedException

init

public void init(String message,
                 Throwable t)
Specified by:
init in class org.apache.hadoop.yarn.api.records.SerializedException

deSerialize

public Throwable deSerialize()
Specified by:
deSerialize in class org.apache.hadoop.yarn.api.records.SerializedException

getMessage

public String getMessage()
Specified by:
getMessage in class org.apache.hadoop.yarn.api.records.SerializedException

getRemoteTrace

public String getRemoteTrace()
Specified by:
getRemoteTrace in class org.apache.hadoop.yarn.api.records.SerializedException

getCause

public org.apache.hadoop.yarn.api.records.SerializedException getCause()
Specified by:
getCause in class org.apache.hadoop.yarn.api.records.SerializedException

getProto

public org.apache.hadoop.yarn.proto.YarnProtos.SerializedExceptionProto getProto()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object


Copyright © 2014 Apache Software Foundation. All Rights Reserved.