Class ThriftSecurityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.thrift.TException
org.apache.accumulo.core.clientImpl.thrift.ThriftSecurityException
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<ThriftSecurityException>
,org.apache.thrift.TBase<ThriftSecurityException,
,ThriftSecurityException._Fields> org.apache.thrift.TSerializable
public class ThriftSecurityException
extends org.apache.thrift.TException
implements org.apache.thrift.TBase<ThriftSecurityException,ThriftSecurityException._Fields>, Serializable, Cloneable, Comparable<ThriftSecurityException>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<ThriftSecurityException._Fields,
org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionThriftSecurityException
(String user, SecurityErrorCode code) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
int
compareTo
(ThriftSecurityException other) deepCopy()
boolean
boolean
fieldForId
(int fieldId) getCode()
getUser()
int
hashCode()
boolean
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
Returns true if field code is set (has been assigned a value) and false otherwiseboolean
Returns true if field user is set (has been assigned a value) and false otherwisevoid
read
(org.apache.thrift.protocol.TProtocol iprot) setCode
(SecurityErrorCode code) void
setCodeIsSet
(boolean value) void
setFieldValue
(ThriftSecurityException._Fields field, Object value) void
setUserIsSet
(boolean value) toString()
void
void
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 Details
-
user
-
code
- See Also:
-
metaDataMap
public static final Map<ThriftSecurityException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ThriftSecurityException
public ThriftSecurityException() -
ThriftSecurityException
-
ThriftSecurityException
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<ThriftSecurityException,
ThriftSecurityException._Fields>
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.thrift.TBase<ThriftSecurityException,
ThriftSecurityException._Fields>
-
getUser
-
setUser
-
unsetUser
public void unsetUser() -
isSetUser
public boolean isSetUser()Returns true if field user is set (has been assigned a value) and false otherwise -
setUserIsSet
public void setUserIsSet(boolean value) -
getCode
- See Also:
-
setCode
- See Also:
-
unsetCode
public void unsetCode() -
isSetCode
public boolean isSetCode()Returns true if field code is set (has been assigned a value) and false otherwise -
setCodeIsSet
public void setCodeIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<ThriftSecurityException,
ThriftSecurityException._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<ThriftSecurityException,
ThriftSecurityException._Fields>
-
isSet
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<ThriftSecurityException,
ThriftSecurityException._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<ThriftSecurityException>
-
fieldForId
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<ThriftSecurityException,
ThriftSecurityException._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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-