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:
java.io.Serializable
public final class MissingPropertyException extends java.lang.RuntimeException
Indicates one or more properties are missing either from a config.yaml configuration file or from request json.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MissingPropertyException(java.lang.String message, java.util.Map<java.lang.String,java.lang.Class<?>> missingProperties, java.util.Set<java.lang.String> attributeNames)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>
getAttributeNames()
java.util.Map<java.lang.String,java.lang.Class<?>>
getMissingProperties()
-
-
-
Constructor Detail
-
MissingPropertyException
public MissingPropertyException(java.lang.String message, java.util.Map<java.lang.String,java.lang.Class<?>> missingProperties, java.util.Set<java.lang.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.
-
-