Package org.springframework.context
Class NoSuchMessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.context.NoSuchMessageException
- All Implemented Interfaces:
- Serializable
Exception thrown when a message can't be resolved.
- Author:
- Rod Johnson
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionNoSuchMessageException(String code) Create a new exception.NoSuchMessageException(String code, Locale locale) Create a new exception.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
NoSuchMessageExceptionCreate a new exception.- Parameters:
- code- the code that could not be resolved for given locale
- locale- the locale that was used to search for the code within
 
- 
NoSuchMessageExceptionCreate a new exception.- Parameters:
- code- the code that could not be resolved for given locale
 
 
-