backtype.storm.generated
Class NotAliveException
java.lang.Object
java.lang.Throwable
java.lang.Exception
backtype.storm.generated.NotAliveException
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<NotAliveException>, org.apache.thrift.TBase<NotAliveException,NotAliveException._Fields>
public class NotAliveException
- extends Exception
- implements org.apache.thrift.TBase<NotAliveException,NotAliveException._Fields>, Serializable, Cloneable
- See Also:
- Serialized Form
|
Nested Class Summary |
static class |
NotAliveException._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
metaDataMap
public static final Map<NotAliveException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
NotAliveException
public NotAliveException()
NotAliveException
public NotAliveException(String msg)
NotAliveException
public NotAliveException(NotAliveException other)
- Performs a deep copy on other.
deepCopy
public NotAliveException deepCopy()
- Specified by:
deepCopy in interface org.apache.thrift.TBase<NotAliveException,NotAliveException._Fields>
clear
public void clear()
- Specified by:
clear in interface org.apache.thrift.TBase<NotAliveException,NotAliveException._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(NotAliveException._Fields field,
Object value)
- Specified by:
setFieldValue in interface org.apache.thrift.TBase<NotAliveException,NotAliveException._Fields>
getFieldValue
public Object getFieldValue(NotAliveException._Fields field)
- Specified by:
getFieldValue in interface org.apache.thrift.TBase<NotAliveException,NotAliveException._Fields>
isSet
public boolean isSet(NotAliveException._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<NotAliveException,NotAliveException._Fields>
equals
public boolean equals(Object that)
- Overrides:
equals in class Object
equals
public boolean equals(NotAliveException that)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
compareTo
public int compareTo(NotAliveException other)
- Specified by:
compareTo in interface Comparable<NotAliveException>
fieldForId
public NotAliveException._Fields fieldForId(int fieldId)
- Specified by:
fieldForId in interface org.apache.thrift.TBase<NotAliveException,NotAliveException._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<NotAliveException,NotAliveException._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<NotAliveException,NotAliveException._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 © 2014 The Apache Software Foundation. All Rights Reserved.