Interface LocalizedException

    • Method Detail

      • getMessage

        String getMessage()
        Returns the message in the default locale. In a client-server architecture, this is usually the locale on the server side. This is the recommended language for logging messages to be read by system administrators.
        Returns:
        the exception message in the JVM default locale.
      • getLocalizedMessage

        String getLocalizedMessage()
        Returns the message in the locale that depends on the context in which this exception has been thrown. For example it may be the local of a client application connected to a distant server. This is the recommended language to show in widgets.
        Returns:
        the exception message in the locale of a service configured for a particular client.
      • getInternationalMessage

        InternationalString getInternationalMessage()
        If this exception is capable to return the message in various locales, returns that message. Otherwise returns null.
        Returns:
        the exception message, or null if this exception can not produce international message.