public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetMin()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'min' is unset! Struct:" + toString()); } if (!isSetMax()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'max' is unset! Struct:" + toString()); } // check for sub-struct validity }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetMin()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'min' is unset! Struct:" + toString()); } if (!isSetMax()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'max' is unset! Struct:" + toString()); } // check for sub-struct validity }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetMin()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'min' is unset! Struct:" + toString()); } if (!isSetMax()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'max' is unset! Struct:" + toString()); } // check for sub-struct validity }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetMin()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'min' is unset! Struct:" + toString()); } if (!isSetMax()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'max' is unset! Struct:" + toString()); } // check for sub-struct validity }