Class InvalidConfigException

    • Constructor Detail

      • InvalidConfigException

        public InvalidConfigException​(String subjectKey,
                                      String subject,
                                      String configKey)
        Creates a new invalid config exception about a specific config.
        Parameters:
        subjectKey - config's subject key
        subject - config's subject
        configKey - config's config key
      • InvalidConfigException

        public InvalidConfigException​(String subjectKey,
                                      String subject,
                                      String configKey,
                                      Throwable cause)
        Creates a new invalid config exception about a specific config with an exception regarding the cause of the invalidity.
        Parameters:
        subjectKey - config's subject key
        subject - config's subject
        configKey - config's config key
        cause - cause of the invalidity
    • Method Detail

      • subjectKey

        public String subjectKey()
        Returns the subject key of the config.
        Returns:
        subject key
      • subject

        public String subject()
        Returns the string representation of the subject of the config.
        Returns:
        subject
      • configKey

        public String configKey()
        Returns the config key of the config.
        Returns:
        config key