Class RecoveryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.thrift.TException
-
- org.apache.accumulo.core.master.thrift.RecoveryException
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<RecoveryException>
,org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
,org.apache.thrift.TSerializable
public class RecoveryException extends org.apache.thrift.TException implements org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>, Serializable, Cloneable, Comparable<RecoveryException>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RecoveryException._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<RecoveryException._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
String
why
-
Constructor Summary
Constructors Constructor Description RecoveryException()
RecoveryException(String why)
RecoveryException(RecoveryException other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 otherwiseboolean
isSetWhy()
Returns true if field why is set (has been assigned a value) and false otherwisevoid
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)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Field Detail
-
why
public String why
-
metaDataMap
public static final Map<RecoveryException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
RecoveryException
public RecoveryException()
-
RecoveryException
public RecoveryException(String why)
-
RecoveryException
public RecoveryException(RecoveryException other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public RecoveryException deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
-
getWhy
public String getWhy()
-
setWhy
public RecoveryException setWhy(String why)
-
unsetWhy
public void unsetWhy()
-
isSetWhy
public boolean isSetWhy()
Returns true if field why is set (has been assigned a value) and false otherwise
-
setWhyIsSet
public void setWhyIsSet(boolean value)
-
setFieldValue
public void setFieldValue(RecoveryException._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
-
getFieldValue
public Object getFieldValue(RecoveryException._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
-
isSet
public boolean isSet(RecoveryException._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
-
equals
public boolean equals(RecoveryException that)
-
compareTo
public int compareTo(RecoveryException other)
- Specified by:
compareTo
in interfaceComparable<RecoveryException>
-
fieldForId
public RecoveryException._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TSerializable
- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
- Specified by:
write
in interfaceorg.apache.thrift.TSerializable
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-