/** * Determines whether the specified property may be accessed. * * @param property Property to access. * @throws PropertyException the property exception */ private void validatePropertyAccess(UserConfigurationProperties property) throws PropertyException { if (!this.propertiesAvailableForAccess.contains(property)) { throw new PropertyException("You must load or assign this property before you can read its value.", property .toString()); } }
default: EwsUtilities.ewsAssert(false, "UserConfiguration.IsPropertyUpdated", "property not supported: " + property.toString()); break;
/** * Determines whether the specified property may be accessed. * * @param property Property to access. * @throws PropertyException the property exception */ private void validatePropertyAccess(UserConfigurationProperties property) throws PropertyException { if (!this.propertiesAvailableForAccess.contains(property)) { throw new PropertyException("You must load or assign this property before you can read its value.", property .toString()); } }
default: EwsUtilities.ewsAssert(false, "UserConfiguration.IsPropertyUpdated", "property not supported: " + property.toString()); break;