Class ThriftPropertyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.thrift.TException
-
- org.apache.accumulo.core.manager.thrift.ThriftPropertyException
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<ThriftPropertyException>
,org.apache.thrift.TBase<ThriftPropertyException,ThriftPropertyException._Fields>
,org.apache.thrift.TSerializable
public class ThriftPropertyException extends org.apache.thrift.TException implements org.apache.thrift.TBase<ThriftPropertyException,ThriftPropertyException._Fields>, Serializable, Cloneable, Comparable<ThriftPropertyException>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ThriftPropertyException._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 String
description
static Map<ThriftPropertyException._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
String
property
String
value
-
Constructor Summary
Constructors Constructor Description ThriftPropertyException()
ThriftPropertyException(String property, String value, String description)
ThriftPropertyException(ThriftPropertyException other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(ThriftPropertyException other)
ThriftPropertyException
deepCopy()
boolean
equals(Object that)
boolean
equals(ThriftPropertyException that)
ThriftPropertyException._Fields
fieldForId(int fieldId)
String
getDescription()
Object
getFieldValue(ThriftPropertyException._Fields field)
String
getProperty()
String
getValue()
int
hashCode()
boolean
isSet(ThriftPropertyException._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetDescription()
Returns true if field description is set (has been assigned a value) and false otherwiseboolean
isSetProperty()
Returns true if field property is set (has been assigned a value) and false otherwiseboolean
isSetValue()
Returns true if field value is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
ThriftPropertyException
setDescription(String description)
void
setDescriptionIsSet(boolean value)
void
setFieldValue(ThriftPropertyException._Fields field, Object value)
ThriftPropertyException
setProperty(String property)
void
setPropertyIsSet(boolean value)
ThriftPropertyException
setValue(String value)
void
setValueIsSet(boolean value)
String
toString()
void
unsetDescription()
void
unsetProperty()
void
unsetValue()
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
-
property
public String property
-
value
public String value
-
description
public String description
-
metaDataMap
public static final Map<ThriftPropertyException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ThriftPropertyException
public ThriftPropertyException()
-
ThriftPropertyException
public ThriftPropertyException(String property, String value, String description)
-
ThriftPropertyException
public ThriftPropertyException(ThriftPropertyException other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ThriftPropertyException deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<ThriftPropertyException,ThriftPropertyException._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<ThriftPropertyException,ThriftPropertyException._Fields>
-
getProperty
public String getProperty()
-
setProperty
public ThriftPropertyException setProperty(String property)
-
unsetProperty
public void unsetProperty()
-
isSetProperty
public boolean isSetProperty()
Returns true if field property is set (has been assigned a value) and false otherwise
-
setPropertyIsSet
public void setPropertyIsSet(boolean value)
-
getValue
public String getValue()
-
setValue
public ThriftPropertyException setValue(String value)
-
unsetValue
public void unsetValue()
-
isSetValue
public boolean isSetValue()
Returns true if field value is set (has been assigned a value) and false otherwise
-
setValueIsSet
public void setValueIsSet(boolean value)
-
getDescription
public String getDescription()
-
setDescription
public ThriftPropertyException setDescription(String description)
-
unsetDescription
public void unsetDescription()
-
isSetDescription
public boolean isSetDescription()
Returns true if field description is set (has been assigned a value) and false otherwise
-
setDescriptionIsSet
public void setDescriptionIsSet(boolean value)
-
setFieldValue
public void setFieldValue(ThriftPropertyException._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<ThriftPropertyException,ThriftPropertyException._Fields>
-
getFieldValue
public Object getFieldValue(ThriftPropertyException._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<ThriftPropertyException,ThriftPropertyException._Fields>
-
isSet
public boolean isSet(ThriftPropertyException._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<ThriftPropertyException,ThriftPropertyException._Fields>
-
equals
public boolean equals(ThriftPropertyException that)
-
compareTo
public int compareTo(ThriftPropertyException other)
- Specified by:
compareTo
in interfaceComparable<ThriftPropertyException>
-
fieldForId
public ThriftPropertyException._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<ThriftPropertyException,ThriftPropertyException._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
-
-