Class ConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.github.jspinak.brobot.json.parsing.exception.ConfigurationException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionConfigurationException
(String message) Create a new configuration exception with a messageConfigurationException
(String message, ValidationResult validationResult) Create a new configuration exception with a message and validation resultConfigurationException
(String message, Throwable cause) Create a new configuration exception with a message and causeConfigurationException
(String message, Throwable cause, ValidationResult validationResult) Create a new configuration exception with a message, cause and validation result -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigurationException
Create a new configuration exception with a formatted messageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConfigurationException
Create a new configuration exception with a message- Parameters:
message
- The error message
-
ConfigurationException
Create a new configuration exception with a message and cause- Parameters:
message
- The error messagecause
- The cause of the exception
-
ConfigurationException
Create a new configuration exception with a message and validation result- Parameters:
message
- The error messagevalidationResult
- The validation result
-
ConfigurationException
Create a new configuration exception with a message, cause and validation result- Parameters:
message
- The error messagecause
- The cause of the exceptionvalidationResult
- The validation result
-
-
Method Details
-
formatted
Create a new configuration exception with a formatted message- Parameters:
format
- The format stringargs
- The format arguments
-
getValidationResult
-