@Generated(value="Autogenerated by Thrift Compiler (0.11.0)", date="2019-01-29") public class TDatabaseException extends org.apache.thrift.TException implements org.apache.thrift.TBase<TDatabaseException,TDatabaseException._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<TDatabaseException>
Modifier and Type | Class and Description |
---|---|
static class |
TDatabaseException._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
int |
errorNumber |
java.lang.String |
message |
static java.util.Map<TDatabaseException._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
TDatabaseExceptionType |
type |
Constructor and Description |
---|
TDatabaseException() |
TDatabaseException(TDatabaseException other)
Performs a deep copy on other.
|
TDatabaseException(TDatabaseExceptionType type,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TDatabaseException other) |
TDatabaseException |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(TDatabaseException that) |
TDatabaseException._Fields |
fieldForId(int fieldId) |
int |
getErrorNumber() |
java.lang.Object |
getFieldValue(TDatabaseException._Fields field) |
java.lang.String |
getMessage() |
TDatabaseExceptionType |
getType() |
int |
hashCode() |
boolean |
isSet(TDatabaseException._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetErrorNumber()
Returns true if field errorNumber 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 |
isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TDatabaseException |
setErrorNumber(int errorNumber) |
void |
setErrorNumberIsSet(boolean value) |
void |
setFieldValue(TDatabaseException._Fields field,
java.lang.Object value) |
TDatabaseException |
setMessage(java.lang.String message) |
void |
setMessageIsSet(boolean value) |
TDatabaseException |
setType(TDatabaseExceptionType type) |
void |
setTypeIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetErrorNumber() |
void |
unsetMessage() |
void |
unsetType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public TDatabaseExceptionType type
TDatabaseExceptionType
public java.lang.String message
public int errorNumber
public static final java.util.Map<TDatabaseException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TDatabaseException()
public TDatabaseException(TDatabaseExceptionType type, java.lang.String message)
public TDatabaseException(TDatabaseException other)
public TDatabaseException deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TDatabaseException,TDatabaseException._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TDatabaseException,TDatabaseException._Fields>
public TDatabaseExceptionType getType()
TDatabaseExceptionType
public TDatabaseException setType(TDatabaseExceptionType type)
TDatabaseExceptionType
public void unsetType()
public boolean isSetType()
public void setTypeIsSet(boolean value)
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public TDatabaseException setMessage(java.lang.String message)
public void unsetMessage()
public boolean isSetMessage()
public void setMessageIsSet(boolean value)
public int getErrorNumber()
public TDatabaseException setErrorNumber(int errorNumber)
public void unsetErrorNumber()
public boolean isSetErrorNumber()
public void setErrorNumberIsSet(boolean value)
public void setFieldValue(TDatabaseException._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<TDatabaseException,TDatabaseException._Fields>
public java.lang.Object getFieldValue(TDatabaseException._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TDatabaseException,TDatabaseException._Fields>
public boolean isSet(TDatabaseException._Fields field)
isSet
in interface org.apache.thrift.TBase<TDatabaseException,TDatabaseException._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(TDatabaseException that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(TDatabaseException other)
compareTo
in interface java.lang.Comparable<TDatabaseException>
public TDatabaseException._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TDatabaseException,TDatabaseException._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Throwable
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.