站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

NoSuchMessageException (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.context
Class NoSuchMessageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
NoSuchMessageException(String code)
          Create a new exception.
NoSuchMessageException(String code, Locale locale)
          Create a new exception.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuchMessageException

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

NoSuchMessageException

public NoSuchMessageException(String code)
Create a new exception.

Parameters:
code - code that could not be resolved for given locale

The Spring Framework

Copyright © 2002-2007 The Spring Framework.