Class I18nRuntimeException

    • Constructor Detail

      • I18nRuntimeException

        public I18nRuntimeException()
        Constructs a new RuntimeI18nException.
      • I18nRuntimeException

        public I18nRuntimeException​(String aBundleName,
                                    String aMessageKey)
        Constructs a new RuntimeI18nException using the supplied bundle details.
        Parameters:
        aBundleName - The name of a resource bundle to use
        aMessageKey - The message key to retrieve from the supplied bundle
      • I18nRuntimeException

        public I18nRuntimeException​(Locale aLocale,
                                    String aBundleName,
                                    String aMessageKey)
        Constructs a new RuntimeI18nException using the supplied Locale and bundle details.
        Parameters:
        aLocale - The Locale to use when looking up the message key
        aBundleName - The name of the resource bundle to use
        aMessageKey - The message key whose value should be retrieved from the supplied bundle
      • I18nRuntimeException

        public I18nRuntimeException​(String aBundleName,
                                    String aMessageKey,
                                    Object... aVarargs)
        Constructs a new RuntimeI18nException with the supplied string as the message key and the supplied string varargs as the message details.
        Parameters:
        aBundleName - The name of the resource bundle to use
        aMessageKey - The message key whose value should be retrieved from the supplied bundle
        aVarargs - The additional details to pass into the exception
      • I18nRuntimeException

        public I18nRuntimeException​(Locale aLocale,
                                    String aBundleName,
                                    String aMessageKey,
                                    Object... aVarargs)
        Constructs a new RuntimeI18nException with the supplied Locale as the locale, the supplied int as the message key, and the supplied string varargs as the message details.
        Parameters:
        aLocale - The locale to use when constructing the exception
        aBundleName - The name of the resource bundle to use
        aMessageKey - The key to use when looking up the message
        aVarargs - The additional details to pass into the exception
      • I18nRuntimeException

        public I18nRuntimeException​(Throwable aCause)
        Constructs a new RuntimeI18nException with the supplied underlying cause.
        Parameters:
        aCause - The underlying cause of the current exception
      • I18nRuntimeException

        public I18nRuntimeException​(Throwable aCause,
                                    String aBundleName,
                                    String aMessageKey)
        Constructs a new RuntimeI18nException with the supplied cause and message.
        Parameters:
        aCause - The underlying cause of the current exception
        aBundleName - The name of the resource bundle to use
        aMessageKey - The key to use when looking up the message
      • I18nRuntimeException

        public I18nRuntimeException​(Throwable aCause,
                                    Locale aLocale,
                                    String aBundleName,
                                    String aMessageKey)
        Constructs a new RuntimeI18nException using the Locale with the supplied cause and message.
        Parameters:
        aCause - The underlying cause of the current exception
        aLocale - The locale to use when constructing the exception
        aBundleName - The name of the resource bundle to use
        aMessageKey - The key to use when looking up the message
      • I18nRuntimeException

        public I18nRuntimeException​(Throwable aCause,
                                    String aBundleName,
                                    String aMessageKey,
                                    Object... aVarargs)
        Constructs a new RuntimeI18nException with the supplied cause, message, and additional details.
        Parameters:
        aCause - The underlying cause of the current exception
        aBundleName - The name of the resource bundle to use
        aMessageKey - The key to use when looking up the message
        aVarargs - The additional details to add to the exception message
      • I18nRuntimeException

        public I18nRuntimeException​(Throwable aCause,
                                    Locale aLocale,
                                    String aBundleName,
                                    String aMessageKey,
                                    Object... aVarargs)
        Constructs a new RuntimeI18nException from the supplied Locale with the supplied cause, message, and additional details.
        Parameters:
        aCause - The underlying cause of the current exception
        aLocale - The locale to use when constructing the exception
        aBundleName - The name of the resource bundle to use
        aMessageKey - The key to use when looking up the message
        aVarargs - The additional details to add to the exception message