Package org.mapfish.print
Class MissingPropertyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mapfish.print.MissingPropertyException
- All Implemented Interfaces:
Serializable
Indicates one or more properties are missing either from a config.yaml configuration file or from
request json.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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 missingattributeNames
- all the allowed attribute names.
-
-
Method Details
-
getMissingProperties
-
getAttributeNames
-