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:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<RecoveryException>, org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
public class RecoveryException
- extends java.lang.Exception
- implements org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>, java.io.Serializable, java.lang.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. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
why
public java.lang.String why
metaDataMap
public static final java.util.Map<RecoveryException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
RecoveryException
public RecoveryException()
RecoveryException
public RecoveryException(java.lang.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>
clone
@Deprecated
public RecoveryException clone()
- Deprecated.
- Overrides:
clone
in class java.lang.Object
getWhy
public java.lang.String getWhy()
setWhy
public RecoveryException setWhy(java.lang.String why)
unsetWhy
public void unsetWhy()
isSetWhy
public boolean isSetWhy()
- Returns true if field why is set (has been asigned a value) and false otherwise
setWhyIsSet
public void setWhyIsSet(boolean value)
setFieldValue
public void setFieldValue(RecoveryException._Fields field,
java.lang.Object value)
- Specified by:
setFieldValue
in interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
setFieldValue
public void setFieldValue(int fieldID,
java.lang.Object value)
- Specified by:
setFieldValue
in interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
getFieldValue
public java.lang.Object getFieldValue(RecoveryException._Fields field)
- Specified by:
getFieldValue
in interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
getFieldValue
public java.lang.Object getFieldValue(int fieldId)
- 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 asigned a value) and false otherwise
- Specified by:
isSet
in interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
isSet
public boolean isSet(int fieldID)
- Specified by:
isSet
in interface org.apache.thrift.TBase<RecoveryException,RecoveryException._Fields>
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in class java.lang.Object
equals
public boolean equals(RecoveryException that)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
compareTo
public int compareTo(RecoveryException other)
- Specified by:
compareTo
in interface java.lang.Comparable<RecoveryException>
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 java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable
validate
public void validate()
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.