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 classRecoveryException._FieldsThe 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>metaDataMapStringwhy
-
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 voidclear()intcompareTo(RecoveryException other)RecoveryExceptiondeepCopy()booleanequals(Object that)booleanequals(RecoveryException that)RecoveryException._FieldsfieldForId(int fieldId)ObjectgetFieldValue(RecoveryException._Fields field)StringgetWhy()inthashCode()booleanisSet(RecoveryException._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetWhy()Returns true if field why is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(RecoveryException._Fields field, Object value)RecoveryExceptionsetWhy(String why)voidsetWhyIsSet(boolean value)StringtoString()voidunsetWhy()voidvalidate()voidwrite(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:
deepCopyin interfaceorg.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
-
clear
public void clear()
- Specified by:
clearin 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:
setFieldValuein interfaceorg.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
-
getFieldValue
public Object getFieldValue(RecoveryException._Fields field)
- Specified by:
getFieldValuein 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:
isSetin interfaceorg.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
-
equals
public boolean equals(RecoveryException that)
-
compareTo
public int compareTo(RecoveryException other)
- Specified by:
compareToin interfaceComparable<RecoveryException>
-
fieldForId
public RecoveryException._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin 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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-