Class ConfiguratorException

    • Constructor Detail

      • ConfiguratorException

        public ConfiguratorException​(String errorCode,
                                     Object[] args,
                                     Locale locale)
      • ConfiguratorException

        public ConfiguratorException​(String message)
    • Method Detail

      • getResourceBundleName

        public String getResourceBundleName()
        Description copied from interface: L10NMessage
        Use this method to chain this exception with another to get localized error messge use getL10NMessage method
        Specified by:
        getResourceBundleName in interface L10NMessage
        Returns:
        ResourceBundle Name associated with this error message.
      • getErrorCode

        public String getErrorCode()
        Description copied from interface: L10NMessage
        Use this method to chain this exception with another to get localized error messge use getL10NMessage method
        Specified by:
        getErrorCode in interface L10NMessage
        Returns:
        Error code associated with this error message.
      • getMessageArgs

        public Object[] getMessageArgs()
        Description copied from interface: L10NMessage
        Use this method to chain this exception with another to get localized error messge use getL10NMessage method
        Specified by:
        getMessageArgs in interface L10NMessage
        Returns:
        arguments for formatting this error message. You need to use MessageFormat class to format the message It can be null.
      • getL10NMessage

        public String getL10NMessage​(Locale locale)
        Description copied from interface: L10NMessage
        Use this method to get localized error message directly.
        Specified by:
        getL10NMessage in interface L10NMessage
        Parameters:
        locale - Locale of the error message.
        Returns:
        localized error message.