/** * Provides the list of error messages for the input string <tt>s</tt>. * If a {@link #parseErrorMessagesProvider} exists, it will be used. Otherwise, {@link #getDefaultErrorMessages(String)} will be called. */ protected final List<String> getErrorMessages(String s) { if(parseErrorMessagesProvider != null) return parseErrorMessagesProvider.getErrorMessages(s, itemName); return getDefaultErrorMessages(s); }