org.springframework.core.env

## 类 MissingRequiredPropertiesException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - java.lang.IllegalStateException
        - - org.springframework.core.env.MissingRequiredPropertiesException

- 所有已实现的接口:
    Serializable

      public class MissingRequiredPropertiesException
      extends IllegalStateException

  Exception thrown when required properties are not found.
  从以下版本开始:
    3.1
  作者:
    Chris Beams
  另请参阅:
    `ConfigurablePropertyResolver.setRequiredProperties(String...)`, `ConfigurablePropertyResolver.validateRequiredProperties()`, `org.springframework.context.support.AbstractApplicationContext#prepareRefresh()`, 序列化表格

- - ### 构造器概要

    构造器
    构造器和说明
    `MissingRequiredPropertiesException()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getMessage()`
    `Set<String>` | `getMissingRequiredProperties()` Return the set of properties marked as required but not present upon validation.

    - ### 从类继承的方法 java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 构造器详细资料

    - #### MissingRequiredPropertiesException

          public MissingRequiredPropertiesException()

  - ### 方法详细资料

    - #### getMessage

          public String getMessage()

      覆盖:
        `getMessage` 在类中 `Throwable`

    - #### getMissingRequiredProperties

          public Set<String> getMissingRequiredProperties()

      Return the set of properties marked as required but not present upon validation.
      另请参阅:
        `ConfigurablePropertyResolver.setRequiredProperties(String...)`, `ConfigurablePropertyResolver.validateRequiredProperties()`