com.fatwire.cs.ui.exception
Class LocalizedMessageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.fatwire.cs.ui.exception.UIException
              extended by com.fatwire.cs.ui.exception.LocalizedMessageException
All Implemented Interfaces:
java.io.Serializable

public class LocalizedMessageException
extends UIException

This class creates and represents an exception to show a localized message to display on UI

See Also:
Serialized Form

Constructor Summary
LocalizedMessageException(java.lang.String key)
          This method Creates a Localized message exception from SystemLocaleString key
LocalizedMessageException(java.lang.String key, java.util.Map parameters)
          Creates a Localized message exception from SystemLocaleString key
 
Method Summary
 java.lang.String getMessage()
          This method Retrieves the internationalized error message(s) for this exception
 
Methods inherited from class com.fatwire.cs.ui.exception.UIException
getName, getRenderer, render, setName, setRenderer
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

LocalizedMessageException

public LocalizedMessageException(java.lang.String key)
This method Creates a Localized message exception from SystemLocaleString key

Parameters:
key - The localized message key from SystemLocaleString to show on UI

LocalizedMessageException

public LocalizedMessageException(java.lang.String key,
                                 java.util.Map parameters)
Creates a Localized message exception from SystemLocaleString key

Parameters:
key - The localized message key from SystemLocaleString to show on UI
parameters - The variables used in the message
Method Detail

getMessage

public java.lang.String getMessage()
This method Retrieves the internationalized error message(s) for this exception

Overrides:
getMessage in class UIException
Returns:
Retrieves the internationalized error message(s) for this exception


Copyright (c) 2003 - 2011 FatWire Corporation All Rights Reserved.