/** * Invoke validation on the calendar properties in its current state. * @throws ValidationException where any of the calendar properties is not in a valid state */ private void validateProperties() throws ValidationException { for (final Property property : getProperties()) { property.validate(); } }
/** * Invoke validation on the component properties in its current state. * * @throws ValidationException where any of the component properties is not in a valid state */ protected final void validateProperties() throws ValidationException { for (final Property property : getProperties()) { property.validate(); } }
/** * Invoke validation on the component properties in its current state. * * @throws ValidationException where any of the component properties is not in a valid state */ protected final void validateProperties() throws ValidationException { for (final Property property : getProperties()) { property.validate(); } }
/** * Invoke validation on the calendar properties in its current state. * @throws ValidationException where any of the calendar properties is not in a valid state */ private void validateProperties() throws ValidationException { for (final Property property : getProperties()) { property.validate(); } }
/** * @throws ValidationException */ public final void testValidation() throws ValidationException { property.validate(); }
/** * Invoke validation on the calendar properties in its current state. * @throws ValidationException where any of the calendar properties is not in a valid state */ private void validateProperties() throws ValidationException { for (final Property property : getProperties()) { property.validate(); } }
/** * Invoke validation on the component properties in its current state. * * @throws ValidationException where any of the component properties is not in a valid state */ protected final void validateProperties() throws ValidationException { for (final Property property : getProperties()) { property.validate(); } }
/** * Invoke validation on the component properties in its current state. * * @throws ValidationException where any of the component properties is not in a valid state */ protected final void validateProperties() throws ValidationException { for (final Property property : getProperties()) { property.validate(); } }
/** * Invoke validation on the calendar properties in its current state. * @throws ValidationException where any of the calendar properties is not in a valid state */ private void validateProperties() throws ValidationException { for (final Property property : getProperties()) { property.validate(); } }
/** * Invoke validation on the calendar properties in its current state. * @throws ValidationException where any of the calendar properties is not in a valid state */ private void validateProperties() throws ValidationException { for (final Iterator i = getProperties().iterator(); i.hasNext();) { final Property property = (Property) i.next(); property.validate(); } }
/** * Invoke validation on the component properties in its current state. * @throws ValidationException where any of the component properties is not in a valid state */ protected final void validateProperties() throws ValidationException { for (final Iterator i = getProperties().iterator(); i.hasNext();) { final Property property = (Property) i.next(); property.validate(); } }
/** * @param property */ protected void assertValidationException(final Property property) { try { property.validate(); } catch (ValidationException ve) { LOG.debug("Exception caught", ve); return; } fail("ValidationException should be thrown!"); } }
/** * @throws ValidationException */ public final void testRelaxedValidation() throws ValidationException { CompatibilityHints.setHintEnabled( CompatibilityHints.KEY_RELAXED_VALIDATION, true); property.validate(); }
/** * */ public final void testValidationException() { try { property.validate(); fail("Should throw ValidationException"); } catch (ValidationException e) { e.printStackTrace(); } }