public HankException deepCopy() { return new HankException(this); }
public static HankException no_replica(boolean value) { HankException x = new HankException(); x.set_no_replica(value); return x; }
public static HankException wrong_host(boolean value) { HankException x = new HankException(); x.set_wrong_host(value); return x; }
public static HankException no_connection_available(boolean value) { HankException x = new HankException(); x.set_no_connection_available(value); return x; }
public static HankException no_such_domain(boolean value) { HankException x = new HankException(); x.set_no_such_domain(value); return x; }
public static HankException failed_retries(int value) { HankException x = new HankException(); x.set_failed_retries(value); return x; }
public static HankException internal_error(String value) { HankException x = new HankException(); x.set_internal_error(value); return x; }
if (field.type == XCEPTION_FIELD_DESC.type) { HankException xception; xception = new HankException(); xception.read(iprot); return xception;
if (field.type == XCEPTION_FIELD_DESC.type) { HankException xception; xception = new HankException(); xception.read(iprot); return xception;
@Override protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException { _Fields setField = _Fields.findByThriftId(fieldID); if (setField != null) { switch (setField) { case NOT_FOUND: Boolean not_found; not_found = iprot.readBool(); return not_found; case VALUE: ByteBuffer value; value = iprot.readBinary(); return value; case XCEPTION: HankException xception; xception = new HankException(); xception.read(iprot); return xception; default: throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { throw new TProtocolException("Couldn't find a field with field id " + fieldID); } }
case XCEPTION: HankException xception; xception = new HankException(); xception.read(iprot); return xception;