org.apache.accumulo.core.master.thrift
Class RecoveryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.accumulo.core.master.thrift.RecoveryException
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<RecoveryException>, org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
public class RecoveryException
- extends Exception
- implements org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>, Serializable, Cloneable
- See Also:
- Serialized Form
Nested Class Summary |
static class |
RecoveryException._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
why
public String why
metaDataMap
public static final Map<RecoveryException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
RecoveryException
public RecoveryException()
RecoveryException
public RecoveryException(String why)
RecoveryException
public RecoveryException(RecoveryException other)
- Performs a deep copy on other.
deepCopy
public RecoveryException deepCopy()
- Specified by:
deepCopy
in interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
clear
public void clear()
- Specified by:
clear
in interface org.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 interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
getFieldValue
public Object getFieldValue(RecoveryException._Fields field)
- Specified by:
getFieldValue
in interface org.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 interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
equals
public boolean equals(Object that)
- Overrides:
equals
in class Object
equals
public boolean equals(RecoveryException that)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
compareTo
public int compareTo(RecoveryException other)
- Specified by:
compareTo
in interface Comparable<RecoveryException>
fieldForId
public RecoveryException._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interface org.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 interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
- Throws:
org.apache.thrift.TException
write
public void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
- Specified by:
write
in interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
- Throws:
org.apache.thrift.TException
toString
public String toString()
- Overrides:
toString
in class Throwable
validate
public void validate()
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.