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 class
NotAuthorizedException._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 String
message
static 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 void
clear()
int
compareTo(NotAuthorizedException other)
NotAuthorizedException
deepCopy()
boolean
equals(Object that)
boolean
equals(NotAuthorizedException that)
NotAuthorizedException._Fields
fieldForId(int fieldId)
Object
getFieldValue(NotAuthorizedException._Fields field)
String
getMessage()
int
hashCode()
boolean
isSet(NotAuthorizedException._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetMessage()
Returns true if field message is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
void
setFieldValue(NotAuthorizedException._Fields field, Object value)
NotAuthorizedException
setMessage(String message)
void
setMessageIsSet(boolean value)
String
toString()
void
unsetMessage()
void
validate()
void
write(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:
deepCopy
in interfaceorg.apache.thrift.TBase<NotAuthorizedException,NotAuthorizedException._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<NotAuthorizedException,NotAuthorizedException._Fields>
-
getMessage
public String getMessage()
- Overrides:
getMessage
in 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:
setFieldValue
in interfaceorg.apache.thrift.TBase<NotAuthorizedException,NotAuthorizedException._Fields>
-
getFieldValue
public Object getFieldValue(NotAuthorizedException._Fields field)
- Specified by:
getFieldValue
in 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:
isSet
in interfaceorg.apache.thrift.TBase<NotAuthorizedException,NotAuthorizedException._Fields>
-
equals
public boolean equals(NotAuthorizedException that)
-
compareTo
public int compareTo(NotAuthorizedException other)
- Specified by:
compareTo
in interfaceComparable<NotAuthorizedException>
-
fieldForId
public NotAuthorizedException._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<NotAuthorizedException,NotAuthorizedException._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in 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:
write
in 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
-
-