com.fatwire.cs.ui.exception
Class LocalizedMessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.fatwire.cs.ui.exception.UIException
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 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 |
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 UIparameters
- The variables used in the message
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.