Class MissingPropertyException

All Implemented Interfaces:
Serializable

public final class MissingPropertyException extends RuntimeException
Indicates one or more properties are missing either from a config.yaml configuration file or from request json.
See Also:
  • Constructor Details

    • MissingPropertyException

      public MissingPropertyException(String message, Map<String,Class<?>> missingProperties, Set<String> attributeNames)
      Constructor.
      Parameters:
      message - the error message. A textual description of the missing properties (type and name) will be appended at the end.
      missingProperties - the properties that are missing
      attributeNames - all the allowed attribute names.
  • Method Details

    • getMissingProperties

      public Map<String,Class<?>> getMissingProperties()
    • getAttributeNames

      public Set<String> getAttributeNames()