Class NotAuthorizedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.thrift.TException
-
- org.wso2.carbon.cloud.gateway.common.thrift.gen.NotAuthorizedException
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<NotAuthorizedException>,org.apache.thrift.TBase<NotAuthorizedException,NotAuthorizedException._Fields>
@Generated("Autogenerated by Thrift Compiler (0.9.2)") public class NotAuthorizedException extends org.apache.thrift.TException implements org.apache.thrift.TBase<NotAuthorizedException,NotAuthorizedException._Fields>, Serializable, Cloneable, Comparable<NotAuthorizedException>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotAuthorizedException._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description Stringmessagestatic Map<NotAuthorizedException._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description NotAuthorizedException()NotAuthorizedException(String message)NotAuthorizedException(NotAuthorizedException other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(NotAuthorizedException other)NotAuthorizedExceptiondeepCopy()booleanequals(Object that)booleanequals(NotAuthorizedException that)NotAuthorizedException._FieldsfieldForId(int fieldId)ObjectgetFieldValue(NotAuthorizedException._Fields field)StringgetMessage()inthashCode()booleanisSet(NotAuthorizedException._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetMessage()Returns true if field message is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(NotAuthorizedException._Fields field, Object value)NotAuthorizedExceptionsetMessage(String message)voidsetMessageIsSet(boolean value)StringtoString()voidunsetMessage()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Field Detail
-
message
public String message
-
metaDataMap
public static final Map<NotAuthorizedException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
NotAuthorizedException
public NotAuthorizedException()
-
NotAuthorizedException
public NotAuthorizedException(String message)
-
NotAuthorizedException
public NotAuthorizedException(NotAuthorizedException other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public NotAuthorizedException deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<NotAuthorizedException,NotAuthorizedException._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<NotAuthorizedException,NotAuthorizedException._Fields>
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
setMessage
public NotAuthorizedException setMessage(String message)
-
unsetMessage
public void unsetMessage()
-
isSetMessage
public boolean isSetMessage()
Returns true if field message is set (has been assigned a value) and false otherwise
-
setMessageIsSet
public void setMessageIsSet(boolean value)
-
setFieldValue
public void setFieldValue(NotAuthorizedException._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<NotAuthorizedException,NotAuthorizedException._Fields>
-
getFieldValue
public Object getFieldValue(NotAuthorizedException._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<NotAuthorizedException,NotAuthorizedException._Fields>
-
isSet
public boolean isSet(NotAuthorizedException._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<NotAuthorizedException,NotAuthorizedException._Fields>
-
equals
public boolean equals(NotAuthorizedException that)
-
compareTo
public int compareTo(NotAuthorizedException other)
- Specified by:
compareToin interfaceComparable<NotAuthorizedException>
-
fieldForId
public NotAuthorizedException._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<NotAuthorizedException,NotAuthorizedException._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TBase<NotAuthorizedException,NotAuthorizedException._Fields>- 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.TBase<NotAuthorizedException,NotAuthorizedException._Fields>- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-