@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, DRPCExecutionException struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.msg = iprot.readString(); struct.set_msg_isSet(true); java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.type = org.apache.storm.generated.DRPCExceptionType.findByValue(iprot.readI32()); struct.set_type_isSet(true); } } }
if (schemeField.type == org.apache.storm.thrift.protocol.TType.I32) { struct.type = org.apache.storm.generated.DRPCExceptionType.findByValue(iprot.readI32()); struct.set_type_isSet(true); } else { org.apache.storm.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);