Save This Page
Home » spring-framework-2.5.4 » org.springframework » context » [javadoc | source]
org.springframework.context
public class: NoSuchMessageException [javadoc | source]
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.
Constructor:
 public NoSuchMessageException(String code) 
    Create a new exception.
    Parameters:
    code - code that could not be resolved for given locale
 public NoSuchMessageException(String code,
    Locale locale) 
    Create a new exception.
    Parameters:
    code - code that could not be resolved for given locale
    locale - locale that was used to search for the code within
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait