Пример #1
0
func (p *HiveServerException) ReadField3(iprot thrift.TProtocol) (err thrift.TProtocolException) {
	v16, err17 := iprot.ReadString()
	if err17 != nil {
		return thrift.NewTProtocolExceptionReadField(3, "SQLState", p.ThriftName(), err17)
	}
	p.SQLState = v16
	return err
}
Пример #2
0
func (p *HiveServerException) ReadField1(iprot thrift.TProtocol) (err thrift.TProtocolException) {
	v12, err13 := iprot.ReadString()
	if err13 != nil {
		return thrift.NewTProtocolExceptionReadField(1, "message", p.ThriftName(), err13)
	}
	p.Message = v12
	return err
}