Class ExtraPropertyException

All Implemented Interfaces:
Serializable

public final class ExtraPropertyException extends RuntimeException
Indicates one or more properties are not used either in a config.yaml configuration file or in the request json.
See Also:
  • Constructor Details

    • ExtraPropertyException

      public ExtraPropertyException(String message, Collection<String> extraProperties, Set<String> attributeNames)
      Constructor.
      Parameters:
      message - the error message. A textual description of the extra properties. List of names will be appended at the end
      extraProperties - the properties that are extra
      attributeNames - all the allowed attribute names.
  • Method Details

    • getExtraProperties

      public Collection<String> getExtraProperties()
    • getAttributeNames

      public Set<String> getAttributeNames()