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
public class NoSuchMessageException
- extends RuntimeException
Exception thrown when a message can't be resolved.
- Author:
- Rod Johnson
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NoSuchMessageException
public NoSuchMessageException(String code,
Locale locale)
- Create a new exception.
- Parameters:
code
- code that could not be resolved for given localelocale
- locale that was used to search for the code within
NoSuchMessageException
public NoSuchMessageException(String code)
- Create a new exception.
- Parameters:
code
- code that could not be resolved for given locale
Copyright © 2002-2007 The Spring Framework.