Package org.springframework.core.env
Class MissingRequiredPropertiesException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- java.lang.IllegalStateException
- org.springframework.core.env.MissingRequiredPropertiesException
- All Implemented Interfaces:
Serializable
public class MissingRequiredPropertiesException extends IllegalStateException
Exception thrown when required properties are not found.
Constructor Summary
Constructors Constructor Description MissingRequiredPropertiesException()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
Set<String>
getMissingRequiredProperties()
Return the set of properties marked as required but not present upon validation.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Detail
MissingRequiredPropertiesException
public MissingRequiredPropertiesException()
Method Detail
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
getMissingRequiredProperties
public Set<String> getMissingRequiredProperties()
Return the set of properties marked as required but not present upon validation.