/** * @since 2.3.21 */ protected TemplateException settingValueAssignmentException(String name, String value, Throwable cause) { return new SettingValueAssignmentException(getEnvironment(), name, value, cause); }
/** * Creates the exception that should be thrown when a setting name isn't recognized. */ protected TemplateException unknownSettingException(String name) { return new UnknownSettingException( getEnvironment(), name, getCorrectedNameForUnknownSetting(name)); }
protected TemplateException invalidSettingValueException(String name, String value) { return new _MiscTemplateException(getEnvironment(), "Invalid value for setting ", new _DelayedJQuote(name), ": ", new _DelayedJQuote(value)); }
/** * @since 2.3.21 */ protected TemplateException settingValueAssignmentException(String name, String value, Throwable cause) { return new SettingValueAssignmentException(getEnvironment(), name, value, cause); }
/** * @since 2.3.21 */ protected TemplateException settingValueAssignmentException(String name, String value, Throwable cause) { return new SettingValueAssignmentException(getEnvironment(), name, value, cause); }
protected TemplateException invalidSettingValueException(String name, String value) { return new TemplateException("Invalid value for setting " + name + ": " + value, getEnvironment()); }
protected TemplateException unknownSettingException(String name) { return new UnknownSettingException(name, getEnvironment()); }
/** * Creates the exception that should be thrown when a setting name isn't recognized. */ protected TemplateException unknownSettingException(String name) { return new UnknownSettingException( getEnvironment(), name, getCorrectedNameForUnknownSetting(name)); }
/** * Creates the exception that should be thrown when a setting name isn't recognized. */ protected TemplateException unknownSettingException(String name) { return new UnknownSettingException( getEnvironment(), name, getCorrectedNameForUnknownSetting(name)); }
protected TemplateException invalidSettingValueException(String name, String value) { return new _MiscTemplateException(getEnvironment(), "Invalid value for setting ", new _DelayedJQuote(name), ": ", new _DelayedJQuote(value)); }
protected TemplateException invalidSettingValueException(String name, String value) { return new _MiscTemplateException(getEnvironment(), "Invalid value for setting ", new _DelayedJQuote(name), ": ", new _DelayedJQuote(value)); }
StringUtil.jQuote(key) + " to value " + StringUtil.jQuote(value) + "; see cause exception.", e, getEnvironment());