@Generated(value="Autogenerated by Thrift Compiler (0.10.0)",
date="2017-08-25")
public class TRuntimeException
extends org.apache.thrift.TException
implements org.apache.thrift.TBase<TRuntimeException,TRuntimeException._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<TRuntimeException>
| Modifier and Type | Class and Description |
|---|---|
static class |
TRuntimeException._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
fullClassName |
java.lang.String |
message |
static java.util.Map<TRuntimeException._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
TRuntimeException() |
TRuntimeException(java.lang.String fullClassName,
java.lang.String message) |
TRuntimeException(TRuntimeException other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(TRuntimeException other) |
TRuntimeException |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(TRuntimeException that) |
TRuntimeException._Fields |
fieldForId(int fieldId) |
java.lang.Object |
getFieldValue(TRuntimeException._Fields field) |
java.lang.String |
getFullClassName() |
java.lang.String |
getMessage() |
int |
hashCode() |
boolean |
isSet(TRuntimeException._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetFullClassName()
Returns true if field fullClassName 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
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TRuntimeException._Fields field,
java.lang.Object value) |
TRuntimeException |
setFullClassName(java.lang.String fullClassName) |
void |
setFullClassNameIsSet(boolean value) |
TRuntimeException |
setMessage(java.lang.String message) |
void |
setMessageIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetFullClassName() |
void |
unsetMessage() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public java.lang.String fullClassName
public java.lang.String message
public static final java.util.Map<TRuntimeException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TRuntimeException()
public TRuntimeException(java.lang.String fullClassName,
java.lang.String message)
public TRuntimeException(TRuntimeException other)
public TRuntimeException deepCopy()
deepCopy in interface org.apache.thrift.TBase<TRuntimeException,TRuntimeException._Fields>public void clear()
clear in interface org.apache.thrift.TBase<TRuntimeException,TRuntimeException._Fields>public java.lang.String getFullClassName()
public TRuntimeException setFullClassName(java.lang.String fullClassName)
public void unsetFullClassName()
public boolean isSetFullClassName()
public void setFullClassNameIsSet(boolean value)
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic TRuntimeException setMessage(java.lang.String message)
public void unsetMessage()
public boolean isSetMessage()
public void setMessageIsSet(boolean value)
public void setFieldValue(TRuntimeException._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<TRuntimeException,TRuntimeException._Fields>public java.lang.Object getFieldValue(TRuntimeException._Fields field)
getFieldValue in interface org.apache.thrift.TBase<TRuntimeException,TRuntimeException._Fields>public boolean isSet(TRuntimeException._Fields field)
isSet in interface org.apache.thrift.TBase<TRuntimeException,TRuntimeException._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(TRuntimeException that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(TRuntimeException other)
compareTo in interface java.lang.Comparable<TRuntimeException>public TRuntimeException._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<TRuntimeException,TRuntimeException._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Throwablepublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright (c) 2016, 2018 Oracle and/or its affiliates. All rights reserved.