public static ExchangeProperties getExchangeProperties(final SystemObject wrappedObject) throws MissingKExDaVAttributeGroupException { final AttributeGroup attributeGroup = wrappedObject .getDataModel() .getAttributeGroup(Constants.Pids.AttributeGroupKExDaVConfigData); if (attributeGroup == null) throw new MissingKExDaVAttributeGroupException(); Data data = wrappedObject.getConfigurationData(attributeGroup); if (data == null) return null; return new ExchangeProperties(data); }