Top Description Constructors
org.springframework.context

public Class NoSuchMessageException

extends RuntimeException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
java.util.Locale

Exception thrown when a message can't be resolved.
Author
Rod Johnson

Constructor Summary

AccessConstructor and Description
public
NoSuchMessageException(String
the code that could not be resolved for given locale
code
,
Locale
the locale that was used to search for the code within
locale
)

Create a new exception.

public
NoSuchMessageException(String
the code that could not be resolved for given locale
code
)

Create a new exception.

Constructor Detail

NoSuchMessageExceptionback to summary
public NoSuchMessageException(String code, Locale locale)

Create a new exception.

Parameters
code:String

the code that could not be resolved for given locale

locale:Locale

the locale that was used to search for the code within

NoSuchMessageExceptionback to summary
public NoSuchMessageException(String code)

Create a new exception.

Parameters
code:String

the code that could not be resolved for given locale