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