241242243244245246247
throw new ConfigurationException(getMessages()); } public void throwValidationExceptionIfErrorsExist() { if (hasErrors()) throw new ValidationException(getMessages()); }