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.
See Also:
  • Method Details

    • getLocalizedMessage

      String getLocalizedMessage(MessageReference context, Throwable exception)
      The method returns a language dependent message texts for the given MessageReference.
      Parameters:
      context - is a Message Reference exception is a Throwable Exception
      exception - Causa
      Returns:
      a language dependent message text