Interface L10NMessage

  • All Known Implementing Classes:
    L10NMessageImpl

    public interface L10NMessage
    Deprecated.
    As of OpenSSO version 8.0 L10NMessage
    This interface provides access to error code and resource bundle name to provide localised error message.
    • Method Detail

      • getL10NMessage

        String getL10NMessage​(Locale loc)
        Deprecated.
        Use this method to get localized error message directly.
        Parameters:
        loc - Locale of the error message.
        Returns:
        localized error message.
      • getResourceBundleName

        String getResourceBundleName()
        Deprecated.
        Use this method to chain this exception with another to get localized error messge use getL10NMessage method
        Returns:
        ResourceBundle Name associated with this error message.
      • getErrorCode

        String getErrorCode()
        Deprecated.
        Use this method to chain this exception with another to get localized error messge use getL10NMessage method
        Returns:
        Error code associated with this error message.
      • getMessageArgs

        Object[] getMessageArgs()
        Deprecated.
        Use this method to chain this exception with another to get localized error messge use getL10NMessage method
        Returns:
        arguments for formatting this error message. You need to use MessageFormat class to format the message It can be null.
      • getMessage

        String getMessage()
        Deprecated.
        Use this method to get error message in default ENGLISH locale.
        Returns:
        gets error message