Class ConfigurationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
io.github.jspinak.brobot.json.parsing.exception.ConfigurationException
All Implemented Interfaces:
Serializable

public class ConfigurationException extends Exception
Exception thrown when there is an error in processing Brobot Runner configurations. This includes errors with parsing, validation, or other configuration-related problems.
See Also:
  • Constructor Details

    • ConfigurationException

      public ConfigurationException(String message)
      Create a new configuration exception with a message
      Parameters:
      message - The error message
    • ConfigurationException

      public ConfigurationException(String message, Throwable cause)
      Create a new configuration exception with a message and cause
      Parameters:
      message - The error message
      cause - The cause of the exception
    • ConfigurationException

      public ConfigurationException(String message, ValidationResult validationResult)
      Create a new configuration exception with a message and validation result
      Parameters:
      message - The error message
      validationResult - The validation result
    • ConfigurationException

      public ConfigurationException(String message, Throwable cause, ValidationResult validationResult)
      Create a new configuration exception with a message, cause and validation result
      Parameters:
      message - The error message
      cause - The cause of the exception
      validationResult - The validation result
  • Method Details

    • formatted

      public static ConfigurationException formatted(String format, Object... args)
      Create a new configuration exception with a formatted message
      Parameters:
      format - The format string
      args - The format arguments
    • getValidationResult

      public ValidationResult getValidationResult()