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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThriftSecurityException._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description SecurityErrorCodecodestatic Map<ThriftSecurityException._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringuser
-
Constructor Summary
Constructors Constructor Description ThriftSecurityException()ThriftSecurityException(String user, SecurityErrorCode code)ThriftSecurityException(ThriftSecurityException other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(ThriftSecurityException other)ThriftSecurityExceptiondeepCopy()booleanequals(Object that)booleanequals(ThriftSecurityException that)ThriftSecurityException._FieldsfieldForId(int fieldId)SecurityErrorCodegetCode()ObjectgetFieldValue(ThriftSecurityException._Fields field)StringgetUser()inthashCode()booleanisSet(ThriftSecurityException._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCode()Returns true if field code is set (has been assigned a value) and false otherwisebooleanisSetUser()Returns true if field user is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ThriftSecurityExceptionsetCode(SecurityErrorCode code)voidsetCodeIsSet(boolean value)voidsetFieldValue(ThriftSecurityException._Fields field, Object value)ThriftSecurityExceptionsetUser(String user)voidsetUserIsSet(boolean value)StringtoString()voidunsetCode()voidunsetUser()voidvalidate()voidwrite(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 Detail
-
user
public String user
-
code
public SecurityErrorCode code
- See Also:
SecurityErrorCode
-
metaDataMap
public static final Map<ThriftSecurityException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ThriftSecurityException
public ThriftSecurityException()
-
ThriftSecurityException
public ThriftSecurityException(String user, SecurityErrorCode code)
-
ThriftSecurityException
public ThriftSecurityException(ThriftSecurityException other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ThriftSecurityException deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ThriftSecurityException,ThriftSecurityException._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<ThriftSecurityException,ThriftSecurityException._Fields>
-
getUser
public String getUser()
-
setUser
public ThriftSecurityException setUser(String user)
-
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
public SecurityErrorCode getCode()
- See Also:
SecurityErrorCode
-
setCode
public ThriftSecurityException setCode(SecurityErrorCode code)
- See Also:
SecurityErrorCode
-
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
public void setFieldValue(ThriftSecurityException._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ThriftSecurityException,ThriftSecurityException._Fields>
-
getFieldValue
public Object getFieldValue(ThriftSecurityException._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ThriftSecurityException,ThriftSecurityException._Fields>
-
isSet
public boolean isSet(ThriftSecurityException._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<ThriftSecurityException,ThriftSecurityException._Fields>
-
equals
public boolean equals(ThriftSecurityException that)
-
compareTo
public int compareTo(ThriftSecurityException other)
- Specified by:
compareToin interfaceComparable<ThriftSecurityException>
-
fieldForId
public ThriftSecurityException._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ThriftSecurityException,ThriftSecurityException._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin 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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-