@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_errorCode = true && (isSetErrorCode()); list.add(present_errorCode); if (present_errorCode) list.add(errorCode.getValue()); boolean present_message = true && (isSetMessage()); list.add(present_message); if (present_message) list.add(message); return list.hashCode(); }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_errorCode = true && (isSetErrorCode()); list.add(present_errorCode); if (present_errorCode) list.add(errorCode.getValue()); boolean present_message = true && (isSetMessage()); list.add(present_message); if (present_message) list.add(message); return list.hashCode(); }
if (ctx != null) { logger.debug("{} Exception with error code {} ({}) from: {}()", ctx, errorCode, errorCode.getValue(), operationName, e); } else { logger.debug("Exception with error code {} ({}) from: {}()", errorCode, errorCode.getValue(), operationName, e); if (ctx != null) { logger.debug("{} Exception with error code {} ({}) from: {}()", ctx, errorCode, errorCode.getValue(), operationName); } else { logger.debug("Exception with error code {} ({}) from: {}()", errorCode, errorCode.getValue(), operationName); if (ctx != null) { logger.warn("{} Unexpected exception with error code {} ({}) from: {}()", ctx, errorCode, errorCode.getValue(), operationName, e); } else { logger.warn("Unexpected exception with error code {} ({}) from: {}()", errorCode, errorCode.getValue(), operationName, e);
if (ctx != null) { logger.debug("{} Exception with error code {} ({}) from: {}()", ctx, errorCode, errorCode.getValue(), operationName, e); } else { logger.debug("Exception with error code {} ({}) from: {}()", errorCode, errorCode.getValue(), operationName, e); if (ctx != null) { logger.debug("{} Exception with error code {} ({}) from: {}()", ctx, errorCode, errorCode.getValue(), operationName); } else { logger.debug("Exception with error code {} ({}) from: {}()", errorCode, errorCode.getValue(), operationName); if (ctx != null) { logger.warn("{} Unexpected exception with error code {} ({}) from: {}()", ctx, errorCode, errorCode.getValue(), operationName, e); } else { logger.warn("Unexpected exception with error code {} ({}) from: {}()", errorCode, errorCode.getValue(), operationName, e);
if (ctx != null) { logger.debug("{} Exception with error code {} ({}) from: {}()", ctx, errorCode, errorCode.getValue(), operationName, e); } else { logger.debug("Exception with error code {} ({}) from: {}()", errorCode, errorCode.getValue(), operationName, e); if (ctx != null) { logger.debug("{} Exception with error code {} ({}) from: {}()", ctx, errorCode, errorCode.getValue(), operationName); } else { logger.debug("Exception with error code {} ({}) from: {}()", errorCode, errorCode.getValue(), operationName); if (ctx != null) { logger.warn("{} Unexpected exception with error code {} ({}) from: {}()", ctx, errorCode, errorCode.getValue(), operationName, e); } else { logger.warn("Unexpected exception with error code {} ({}) from: {}()", errorCode, errorCode.getValue(), operationName, e);
public void write(org.apache.thrift.protocol.TProtocol oprot, CentralDogmaException struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.errorCode != null) { oprot.writeFieldBegin(ERROR_CODE_FIELD_DESC); oprot.writeI32(struct.errorCode.getValue()); oprot.writeFieldEnd(); } if (struct.message != null) { if (struct.isSetMessage()) { oprot.writeFieldBegin(MESSAGE_FIELD_DESC); oprot.writeString(struct.message); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, CentralDogmaException struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.errorCode != null) { oprot.writeFieldBegin(ERROR_CODE_FIELD_DESC); oprot.writeI32(struct.errorCode.getValue()); oprot.writeFieldEnd(); } if (struct.message != null) { if (struct.isSetMessage()) { oprot.writeFieldBegin(MESSAGE_FIELD_DESC); oprot.writeString(struct.message); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, CentralDogmaException struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeI32(struct.errorCode.getValue()); BitSet optionals = new BitSet(); if (struct.isSetMessage()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetMessage()) { oprot.writeString(struct.message); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, CentralDogmaException struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeI32(struct.errorCode.getValue()); BitSet optionals = new BitSet(); if (struct.isSetMessage()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetMessage()) { oprot.writeString(struct.message); } }