MutuallyExclusiveConfigurationPropertiesException

Exception thrown when more than one mutually exclusive configuration property has been configured.

Author

Andy Wilkinson

Phillip Webb

Since

2.6.0

Constructors

constructor(configuredNames: Collection<String>, mutuallyExclusiveNames: Collection<String>)
Creates a new instance for mutually exclusive configuration properties when two or more of those properties have been configured.

Properties

Link copied to clipboard
open val cause: Throwable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun addSuppressed(exception: Throwable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMessage(): String
Link copied to clipboard
Link copied to clipboard
open fun initCause(cause: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
Link copied to clipboard
open fun <V> throwIfMultipleMatchingValuesIn(entries: Consumer<Map<String, V>>, predicate: Predicate<V>)
Throw a new MutuallyExclusiveConfigurationPropertiesException if multiple values are defined in a set of entries that match the given predicate.
Link copied to clipboard
Throw a new MutuallyExclusiveConfigurationPropertiesException if multiple non-null values are defined in a set of entries.
Link copied to clipboard
open fun toString(): String