if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.sqlState = iprot.readString(); struct.setSqlStateIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, GFXDExceptionData struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.reason = iprot.readString(); struct.setReasonIsSet(true); struct.sqlState = iprot.readString(); struct.setSqlStateIsSet(true); struct.severity = iprot.readI32(); struct.setSeverityIsSet(true); } }