@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class RecoveryException extends org.apache.thrift.TException implements org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>, Serializable, Cloneable, Comparable<RecoveryException>
Modifier and Type | Class and Description |
---|---|
static class |
RecoveryException._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<RecoveryException._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
why |
Constructor and Description |
---|
RecoveryException() |
RecoveryException(RecoveryException other)
Performs a deep copy on other.
|
RecoveryException(String why) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(RecoveryException other) |
RecoveryException |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(RecoveryException that) |
RecoveryException._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(RecoveryException._Fields field) |
String |
getWhy() |
int |
hashCode() |
boolean |
isSet(RecoveryException._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetWhy()
Returns true if field why is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(RecoveryException._Fields field,
Object value) |
RecoveryException |
setWhy(String why) |
void |
setWhyIsSet(boolean value) |
String |
toString() |
void |
unsetWhy() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public String why
public static final Map<RecoveryException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public RecoveryException()
public RecoveryException(String why)
public RecoveryException(RecoveryException other)
public RecoveryException deepCopy()
deepCopy
in interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
public String getWhy()
public RecoveryException setWhy(String why)
public void unsetWhy()
public boolean isSetWhy()
public void setWhyIsSet(boolean value)
public void setFieldValue(RecoveryException._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
public Object getFieldValue(RecoveryException._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
public boolean isSet(RecoveryException._Fields field)
isSet
in interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
public boolean equals(RecoveryException that)
public int compareTo(RecoveryException other)
compareTo
in interface Comparable<RecoveryException>
public RecoveryException._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.