/** * Internal constructor. * * @param service the service * @throws Exception the exception */ protected ServiceObject(ExchangeService service) throws Exception { EwsUtilities.validateParam(service, "service"); EwsUtilities.validateServiceObjectVersion(this, service .getRequestedServerVersion()); this.service = service; this.propertyBag = new PropertyBag(this); }
/** * Internal constructor. * * @param service the service * @throws Exception the exception */ protected ServiceObject(ExchangeService service) throws Exception { EwsUtilities.validateParam(service, "service"); EwsUtilities.validateServiceObjectVersion(this, service .getRequestedServerVersion()); this.service = service; this.propertyBag = new PropertyBag(this); }