org.apache.accumulo.core.security.thrift
public class ThriftSecurityException extends org.apache.thrift.TException implements org.apache.thrift.TBase<ThriftSecurityException,ThriftSecurityException._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ThriftSecurityException._Fields
Deprecated.
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
SecurityErrorCode |
code
Deprecated.
|
static Map<ThriftSecurityException._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
Deprecated.
|
String |
user
Deprecated.
|
Constructor and Description |
---|
ThriftSecurityException()
Deprecated.
|
ThriftSecurityException(String user,
SecurityErrorCode code)
Deprecated.
|
ThriftSecurityException(ThriftSecurityException other)
Deprecated.
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
|
int |
compareTo(ThriftSecurityException other)
Deprecated.
|
ThriftSecurityException |
deepCopy()
Deprecated.
|
boolean |
equals(Object that)
Deprecated.
|
boolean |
equals(ThriftSecurityException that)
Deprecated.
|
ThriftSecurityException._Fields |
fieldForId(int fieldId)
Deprecated.
|
SecurityErrorCode |
getCode()
Deprecated.
|
Object |
getFieldValue(ThriftSecurityException._Fields field)
Deprecated.
|
String |
getUser()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isSet(ThriftSecurityException._Fields field)
Deprecated.
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCode()
Deprecated.
Returns true if field code is set (has been assigned a value) and false otherwise
|
boolean |
isSetUser()
Deprecated.
Returns true if field user is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot)
Deprecated.
|
ThriftSecurityException |
setCode(SecurityErrorCode code)
Deprecated.
|
void |
setCodeIsSet(boolean value)
Deprecated.
|
void |
setFieldValue(ThriftSecurityException._Fields field,
Object value)
Deprecated.
|
ThriftSecurityException |
setUser(String user)
Deprecated.
|
void |
setUserIsSet(boolean value)
Deprecated.
|
String |
toString()
Deprecated.
|
void |
unsetCode()
Deprecated.
|
void |
unsetUser()
Deprecated.
|
void |
validate()
Deprecated.
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
Deprecated.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public String user
public SecurityErrorCode code
SecurityErrorCode
public static final Map<ThriftSecurityException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ThriftSecurityException()
public ThriftSecurityException(String user, SecurityErrorCode code)
public ThriftSecurityException(ThriftSecurityException other)
public ThriftSecurityException deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ThriftSecurityException,ThriftSecurityException._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ThriftSecurityException,ThriftSecurityException._Fields>
public String getUser()
public ThriftSecurityException setUser(String user)
public void unsetUser()
public boolean isSetUser()
public void setUserIsSet(boolean value)
public SecurityErrorCode getCode()
SecurityErrorCode
public ThriftSecurityException setCode(SecurityErrorCode code)
SecurityErrorCode
public void unsetCode()
public boolean isSetCode()
public void setCodeIsSet(boolean value)
public void setFieldValue(ThriftSecurityException._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ThriftSecurityException,ThriftSecurityException._Fields>
public Object getFieldValue(ThriftSecurityException._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ThriftSecurityException,ThriftSecurityException._Fields>
public boolean isSet(ThriftSecurityException._Fields field)
isSet
in interface org.apache.thrift.TBase<ThriftSecurityException,ThriftSecurityException._Fields>
public boolean equals(ThriftSecurityException that)
public int compareTo(ThriftSecurityException other)
compareTo
in interface Comparable<ThriftSecurityException>
public ThriftSecurityException._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ThriftSecurityException,ThriftSecurityException._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ThriftSecurityException,ThriftSecurityException._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<ThriftSecurityException,ThriftSecurityException._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2014 Apache Accumulo Project. All Rights Reserved.