Package org.apache.storm.generated
Class KeyAlreadyExistsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.storm.thrift.TException
-
- org.apache.storm.generated.KeyAlreadyExistsException
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<KeyAlreadyExistsException>
,org.apache.storm.thrift.TBase<KeyAlreadyExistsException,KeyAlreadyExistsException._Fields>
,org.apache.storm.thrift.TSerializable
- Direct Known Subclasses:
WrappedKeyAlreadyExistsException
@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class KeyAlreadyExistsException extends org.apache.storm.thrift.TException implements org.apache.storm.thrift.TBase<KeyAlreadyExistsException,KeyAlreadyExistsException._Fields>, Serializable, Cloneable, Comparable<KeyAlreadyExistsException>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KeyAlreadyExistsException._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 static Map<KeyAlreadyExistsException._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description KeyAlreadyExistsException()
KeyAlreadyExistsException(String msg)
KeyAlreadyExistsException(KeyAlreadyExistsException other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(KeyAlreadyExistsException other)
KeyAlreadyExistsException
deepCopy()
boolean
equals(Object that)
boolean
equals(KeyAlreadyExistsException that)
KeyAlreadyExistsException._Fields
fieldForId(int fieldId)
String
get_msg()
Object
getFieldValue(KeyAlreadyExistsException._Fields field)
int
hashCode()
boolean
is_set_msg()
Returns true if field msg is set (has been assigned a value) and false otherwiseboolean
isSet(KeyAlreadyExistsException._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
read(org.apache.storm.thrift.protocol.TProtocol iprot)
void
set_msg(String msg)
void
set_msg_isSet(boolean value)
void
setFieldValue(KeyAlreadyExistsException._Fields field, Object value)
String
toString()
void
unset_msg()
void
validate()
void
write(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<KeyAlreadyExistsException._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
KeyAlreadyExistsException
public KeyAlreadyExistsException()
-
KeyAlreadyExistsException
public KeyAlreadyExistsException(String msg)
-
KeyAlreadyExistsException
public KeyAlreadyExistsException(KeyAlreadyExistsException other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public KeyAlreadyExistsException deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<KeyAlreadyExistsException,KeyAlreadyExistsException._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<KeyAlreadyExistsException,KeyAlreadyExistsException._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(KeyAlreadyExistsException._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<KeyAlreadyExistsException,KeyAlreadyExistsException._Fields>
-
getFieldValue
public Object getFieldValue(KeyAlreadyExistsException._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<KeyAlreadyExistsException,KeyAlreadyExistsException._Fields>
-
isSet
public boolean isSet(KeyAlreadyExistsException._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.storm.thrift.TBase<KeyAlreadyExistsException,KeyAlreadyExistsException._Fields>
-
equals
public boolean equals(KeyAlreadyExistsException that)
-
compareTo
public int compareTo(KeyAlreadyExistsException other)
- Specified by:
compareTo
in interfaceComparable<KeyAlreadyExistsException>
-
fieldForId
public KeyAlreadyExistsException._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<KeyAlreadyExistsException,KeyAlreadyExistsException._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException
- Specified by:
read
in 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:
write
in 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
-
-