Class InvalidConfigurationException

All Implemented Interfaces:
Serializable

public final class InvalidConfigurationException extends LoomException
Thrown when a configuration value is invalid or missing.

This exception indicates a problem with the LoomCache configuration. This can occur when reading configuration files, environment variables, or programmatic configuration.

Common causes include: - Missing required configuration - Invalid configuration values (out of range, wrong format) - Conflicting configuration settings - Unrecognized configuration keys

This is typically a non-recoverable error that should be addressed by the operator before starting the service.

Since:
1.0
See Also:
  • Constructor Details

    • InvalidConfigurationException

      public InvalidConfigurationException(String message)
      Creates a new InvalidConfigurationException with message.
      Parameters:
      message - the error message (must not be null)
    • InvalidConfigurationException

      public InvalidConfigurationException(String message, Throwable cause)
      Creates a new InvalidConfigurationException with message and cause.
      Parameters:
      message - the error message (must not be null)
      cause - the underlying cause
    • InvalidConfigurationException

      public InvalidConfigurationException(String message, @Nullable String configKey, @Nullable String configValue, @Nullable String reason)
      Creates a new InvalidConfigurationException with detailed configuration information.
      Parameters:
      message - the error message (must not be null)
      configKey - the configuration key that is invalid (may be null)
      configValue - the invalid configuration value (may be null)
      reason - the reason why the configuration is invalid (may be null)