类 NoSuchMessageException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.context.NoSuchMessageException
- 所有已实现的接口:
Serializable
public class NoSuchMessageException extends RuntimeException
Exception thrown when a message can't be resolved.- 作者:
- Rod Johnson
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 NoSuchMessageException(String code)
Create a new exception.NoSuchMessageException(String code, Locale locale)
Create a new exception.
方法概要
构造器详细资料
NoSuchMessageException
public NoSuchMessageException(String code, Locale locale)
Create a new exception.- 参数:
code
- the code that could not be resolved for given localelocale
- the locale that was used to search for the code within
NoSuchMessageException
public NoSuchMessageException(String code)
Create a new exception.- 参数:
code
- the code that could not be resolved for given locale