com.interface21.context
Class NoSuchMessageException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.interface21.context.NoSuchMessageException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchMessageException
extends java.lang.Exception

Exception thrown when a message can't be resolved

Author:
Rod Johnson
See Also:
Serialized Form

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

Constructor Detail

NoSuchMessageException

public NoSuchMessageException(java.lang.String code,
                              java.util.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(java.lang.String code)
Create a new exception.
Parameters:
code - code that could not be resolved for given locale.


Rod Johnson and Spring contributors 2001-2003.