Package org.apache.storm.generated
Class KeyNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.storm.thrift.TException
-
- org.apache.storm.generated.KeyNotFoundException
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<KeyNotFoundException>,org.apache.storm.thrift.TBase<KeyNotFoundException,KeyNotFoundException._Fields>,org.apache.storm.thrift.TSerializable
- Direct Known Subclasses:
WrappedKeyNotFoundException
@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class KeyNotFoundException extends org.apache.storm.thrift.TException implements org.apache.storm.thrift.TBase<KeyNotFoundException,KeyNotFoundException._Fields>, Serializable, Cloneable, Comparable<KeyNotFoundException>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKeyNotFoundException._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<KeyNotFoundException._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description KeyNotFoundException()KeyNotFoundException(String msg)KeyNotFoundException(KeyNotFoundException other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(KeyNotFoundException other)KeyNotFoundExceptiondeepCopy()booleanequals(Object that)booleanequals(KeyNotFoundException that)KeyNotFoundException._FieldsfieldForId(int fieldId)Stringget_msg()ObjectgetFieldValue(KeyNotFoundException._Fields field)inthashCode()booleanis_set_msg()Returns true if field msg is set (has been assigned a value) and false otherwisebooleanisSet(KeyNotFoundException._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidread(org.apache.storm.thrift.protocol.TProtocol iprot)voidset_msg(String msg)voidset_msg_isSet(boolean value)voidsetFieldValue(KeyNotFoundException._Fields field, Object value)StringtoString()voidunset_msg()voidvalidate()voidwrite(org.apache.storm.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
-
metaDataMap
public static final Map<KeyNotFoundException._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
KeyNotFoundException
public KeyNotFoundException()
-
KeyNotFoundException
public KeyNotFoundException(String msg)
-
KeyNotFoundException
public KeyNotFoundException(KeyNotFoundException other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public KeyNotFoundException deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<KeyNotFoundException,KeyNotFoundException._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<KeyNotFoundException,KeyNotFoundException._Fields>
-
get_msg
public String get_msg()
-
set_msg
public void set_msg(String msg)
-
unset_msg
public void unset_msg()
-
is_set_msg
public boolean is_set_msg()
Returns true if field msg is set (has been assigned a value) and false otherwise
-
set_msg_isSet
public void set_msg_isSet(boolean value)
-
setFieldValue
public void setFieldValue(KeyNotFoundException._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<KeyNotFoundException,KeyNotFoundException._Fields>
-
getFieldValue
public Object getFieldValue(KeyNotFoundException._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<KeyNotFoundException,KeyNotFoundException._Fields>
-
isSet
public boolean isSet(KeyNotFoundException._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.storm.thrift.TBase<KeyNotFoundException,KeyNotFoundException._Fields>
-
equals
public boolean equals(KeyNotFoundException that)
-
compareTo
public int compareTo(KeyNotFoundException other)
- Specified by:
compareToin interfaceComparable<KeyNotFoundException>
-
fieldForId
public KeyNotFoundException._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<KeyNotFoundException,KeyNotFoundException._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException- Specified by:
readin interfaceorg.apache.storm.thrift.TSerializable- Throws:
org.apache.storm.thrift.TException
-
write
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException- Specified by:
writein interfaceorg.apache.storm.thrift.TSerializable- Throws:
org.apache.storm.thrift.TException
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-
-