public class TGenericException extends org.apache.thrift.TException implements org.apache.thrift.TBase<TGenericException,TGenericException._Fields>, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
TGenericException._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
String |
message |
static Map<TGenericException._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
originalExceptionClass |
| Constructor and Description |
|---|
TGenericException() |
TGenericException(String message,
String originalExceptionClass) |
TGenericException(TGenericException other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(TGenericException other) |
TGenericException |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TGenericException that) |
TGenericException._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TGenericException._Fields field) |
String |
getMessage() |
String |
getOriginalExceptionClass() |
int |
hashCode() |
boolean |
isSet(TGenericException._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetMessage()
Returns true if field message is set (has been assigned a value) and false otherwise
|
boolean |
isSetOriginalExceptionClass()
Returns true if field originalExceptionClass is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TGenericException._Fields field,
Object value) |
TGenericException |
setMessage(String message) |
void |
setMessageIsSet(boolean value) |
TGenericException |
setOriginalExceptionClass(String originalExceptionClass) |
void |
setOriginalExceptionClassIsSet(boolean value) |
String |
toString() |
void |
unsetMessage() |
void |
unsetOriginalExceptionClass() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic String message
public String originalExceptionClass
public static final Map<TGenericException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TGenericException()
public TGenericException(TGenericException other)
public TGenericException deepCopy()
deepCopy in interface org.apache.thrift.TBase<TGenericException,TGenericException._Fields>public void clear()
clear in interface org.apache.thrift.TBase<TGenericException,TGenericException._Fields>public String getMessage()
getMessage in class Throwablepublic TGenericException setMessage(String message)
public void unsetMessage()
public boolean isSetMessage()
public void setMessageIsSet(boolean value)
public String getOriginalExceptionClass()
public TGenericException setOriginalExceptionClass(String originalExceptionClass)
public void unsetOriginalExceptionClass()
public boolean isSetOriginalExceptionClass()
public void setOriginalExceptionClassIsSet(boolean value)
public void setFieldValue(TGenericException._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<TGenericException,TGenericException._Fields>public Object getFieldValue(TGenericException._Fields field)
getFieldValue in interface org.apache.thrift.TBase<TGenericException,TGenericException._Fields>public boolean isSet(TGenericException._Fields field)
isSet in interface org.apache.thrift.TBase<TGenericException,TGenericException._Fields>public boolean equals(TGenericException that)
public int compareTo(TGenericException other)
compareTo in interface Comparable<TGenericException>public TGenericException._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<TGenericException,TGenericException._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<TGenericException,TGenericException._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<TGenericException,TGenericException._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.