spring-framework / org.springframework.core.env / MissingRequiredPropertiesException

MissingRequiredPropertiesException

open class MissingRequiredPropertiesException : IllegalStateException

Exception thrown when required properties are not found.

Author
Chris Beams

Since
3.1

See Also
ConfigurablePropertyResolver#setRequiredProperties(String...)ConfigurablePropertyResolver#validateRequiredProperties()org.springframework.context.support.AbstractApplicationContext#prepareRefresh()

Constructors

<init>

MissingRequiredPropertiesException()

Exception thrown when required properties are not found.

Properties

message

open val message: String

Functions

getMissingRequiredProperties

open fun getMissingRequiredProperties(): MutableSet<String>

Return the set of properties marked as required but not present upon validation.