类的使用
org.springframework.context.NoSuchMessageException
使用NoSuchMessageException的程序包 程序包 说明 org.springframework.context This package builds on the beans package to add support for message sources and for the Observer design pattern, and the ability for application objects to obtain resources using a consistent API.org.springframework.context.support Classes supporting the org.springframework.context package, such as abstract base classes for ApplicationContext implementations and a MessageSource implementation.org.springframework.web.reactive.result.view Support for result handling through view resolution.org.springframework.web.servlet.support Support classes for Spring's web MVC framework.org.springframework.web.servlet.tags This package contains Spring's JSP standard tag library for JSP 2.0+.org.springframework.context中NoSuchMessageException的使用
抛出NoSuchMessageException的org.springframework.context中的方法 修饰符和类型 方法 说明 String
MessageSource. getMessage(String code, Object[] args, Locale locale)
Try to resolve the message.String
MessageSource. getMessage(MessageSourceResolvable resolvable, Locale locale)
Try to resolve the message using all the attributes contained within theMessageSourceResolvable
argument that was passed in.org.springframework.context.support中NoSuchMessageException的使用
抛出NoSuchMessageException的org.springframework.context.support中的方法 修饰符和类型 方法 说明 String
AbstractApplicationContext. getMessage(String code, Object[] args, Locale locale)
String
AbstractApplicationContext. getMessage(MessageSourceResolvable resolvable, Locale locale)
String
AbstractMessageSource. getMessage(String code, Object[] args, Locale locale)
String
AbstractMessageSource. getMessage(MessageSourceResolvable resolvable, Locale locale)
String
DelegatingMessageSource. getMessage(String code, Object[] args, Locale locale)
String
DelegatingMessageSource. getMessage(MessageSourceResolvable resolvable, Locale locale)
String
MessageSourceAccessor. getMessage(String code)
Retrieve the message for the given code and the default Locale.String
MessageSourceAccessor. getMessage(String code, Object[] args)
Retrieve the message for the given code and the default Locale.String
MessageSourceAccessor. getMessage(String code, Object[] args, Locale locale)
Retrieve the message for the given code and the given Locale.String
MessageSourceAccessor. getMessage(String code, Locale locale)
Retrieve the message for the given code and the given Locale.String
MessageSourceAccessor. getMessage(MessageSourceResolvable resolvable)
Retrieve the given MessageSourceResolvable (e.g. an ObjectError instance) in the default Locale.String
MessageSourceAccessor. getMessage(MessageSourceResolvable resolvable, Locale locale)
Retrieve the given MessageSourceResolvable (e.g. an ObjectError instance) in the given Locale.org.springframework.web.reactive.result.view中NoSuchMessageException的使用
抛出NoSuchMessageException的org.springframework.web.reactive.result.view中的方法 修饰符和类型 方法 说明 String
RequestContext. getMessage(String code)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.String
RequestContext. getMessage(String code, Object[] args)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.String
RequestContext. getMessage(String code, Object[] args, boolean htmlEscape)
Retrieve the message for the given code.String
RequestContext. getMessage(String code, List<?> args)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.String
RequestContext. getMessage(MessageSourceResolvable resolvable)
Retrieve the given MessageSourceResolvable (e.g. an ObjectError instance), using the "defaultHtmlEscape" setting.String
RequestContext. getMessage(MessageSourceResolvable resolvable, boolean htmlEscape)
Retrieve the given MessageSourceResolvable (e.g. an ObjectError instance).org.springframework.web.servlet.support中NoSuchMessageException的使用
抛出NoSuchMessageException的org.springframework.web.servlet.support中的方法 修饰符和类型 方法 说明 String
RequestContext. getMessage(String code)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.String
RequestContext. getMessage(String code, Object[] args)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.String
RequestContext. getMessage(String code, Object[] args, boolean htmlEscape)
Retrieve the message for the given code.String
RequestContext. getMessage(String code, List<?> args)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.String
RequestContext. getMessage(MessageSourceResolvable resolvable)
Retrieve the given MessageSourceResolvable (e.g. an ObjectError instance), using the "defaultHtmlEscape" setting.String
RequestContext. getMessage(MessageSourceResolvable resolvable, boolean htmlEscape)
Retrieve the given MessageSourceResolvable (e.g. an ObjectError instance).String
RequestContext. getThemeMessage(String code)
Retrieve the theme message for the given code.String
RequestContext. getThemeMessage(String code, Object[] args)
Retrieve the theme message for the given code.String
RequestContext. getThemeMessage(String code, List<?> args)
Retrieve the theme message for the given code.String
RequestContext. getThemeMessage(MessageSourceResolvable resolvable)
Retrieve the given MessageSourceResolvable in the current theme.org.springframework.web.servlet.tags中NoSuchMessageException的使用
参数类型为NoSuchMessageException的org.springframework.web.servlet.tags中的方法 修饰符和类型 方法 说明 protected String
MessageTag. getNoSuchMessageExceptionDescription(NoSuchMessageException ex)
Return default exception message.protected String
ThemeTag. getNoSuchMessageExceptionDescription(NoSuchMessageException ex)
Return exception message that indicates the current theme.抛出NoSuchMessageException的org.springframework.web.servlet.tags中的方法 修饰符和类型 方法 说明 protected String
MessageTag. resolveMessage()
Resolve the specified message into a concrete message String.