Interface ODataJPAMessageService
-
public interface ODataJPAMessageServiceThe interface is used to access language dependent message texts. Default language is "English - EN".
The default implementation of the interface shipped with the library loads message texts from language dependent property files. If the message text is not found for the given language then the default language -EN is used for the message texts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetLocalizedMessage(MessageReference context, Throwable exception)The method returns a language dependent message texts for the givenMessageReference.
-
-
-
Method Detail
-
getLocalizedMessage
String getLocalizedMessage(MessageReference context, Throwable exception)
The method returns a language dependent message texts for the givenMessageReference.- Parameters:
context- is a Message Reference exception is a Throwable Exceptionexception- Causa- Returns:
- a language dependent message text
-
-