Interface ODataJPAMessageService
public interface ODataJPAMessageService
The 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.
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.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetLocalizedMessage(MessageReference context, Throwable exception) The method returns a language dependent message texts for the givenMessageReference.
-
Method Details
-
getLocalizedMessage
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
-