(0000093)
|
administrator
|
2011-08-12 14:47
|
|
The OberonException class supports now message localization by dictionary translation; added new methods:
constructor - public OberonException(String errorKey, Object[] params)
errorKey the dictionary keyword for message translation
params parameters to be replaced in the message
Get the localized exception message.
Translate the message to the given or current user language and search for translation inside the specified section
public String getLocalizedMessage(HttpSession session)
public String getLocalizedMessage(Framework framework)
public String getLocalizedMessage(String errorSection, HttpSession session)
public String getLocalizedMessage(String errorSection, Framework framework)
public String getLocalizedMessage(String language, String errorSection, HttpSession session)
public String getLocalizedMessage(String language, String errorSection, Framework framework) |
|