236237238239240241242
return this; } public void throwConfigurationExceptionIfErrorsExist() { if (hasErrors()) throw new ConfigurationException(getMessages()); }
245246247248249250251
if (hasErrors()) throw new ValidationException(getMessages()); } public ConfigurationException toConfigurationException() { return new ConfigurationException(getMessages()); }