org.apache.accumulo.core.master.thrift
Class RecoveryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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.
 
Field Summary
static Map<RecoveryException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 String why
           
 
Constructor Summary
RecoveryException()
           
RecoveryException(RecoveryException other)
          Performs a deep copy on other.
RecoveryException(String why)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 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.