Class ConfigurationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.sling.commons.log.logback.internal.config.ConfigurationException
All Implemented Interfaces:
Serializable

public class ConfigurationException extends Exception
Exception for any errors encountered while utilizing any properties for configuration services
See Also:
  • Constructor Details

    • ConfigurationException

      public ConfigurationException(@NotNull @NotNull String property, @NotNull @NotNull String reason)
      Constructor
      Parameters:
      property - the property that was invalid
      reason - the reason that the property value was invalid
    • ConfigurationException

      public ConfigurationException(@NotNull @NotNull String property, @NotNull @NotNull String reason, @Nullable @Nullable Throwable cause)
      Constructor
      Parameters:
      property - the property that was invalid
      reason - the reason that the property value was invalid
      cause - the exception that caused the failure
  • Method Details

    • getProperty

      @NotNull public @NotNull String getProperty()
      The property that was invalid
      Returns:
      the property name that caused the failure
    • getReason

      @NotNull public @NotNull String getReason()
      The reason that the property value was invalid
      Returns:
      the reason that the property was invalid