Package org.mapfish.print
Class ExtraPropertyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.mapfish.print.ExtraPropertyException
-
- All Implemented Interfaces:
java.io.Serializable
public final class ExtraPropertyException extends java.lang.RuntimeException
Indicates one or more properties are not used either in a config.yaml configuration file or in the request json.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExtraPropertyException(java.lang.String message, java.util.Collection<java.lang.String> extraProperties, 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.Collection<java.lang.String>
getExtraProperties()
-
-
-
Constructor Detail
-
ExtraPropertyException
public ExtraPropertyException(java.lang.String message, java.util.Collection<java.lang.String> extraProperties, java.util.Set<java.lang.String> attributeNames)
Constructor.- Parameters:
message
- the error message. A textual description of the extra properties. List of names will be appended at the endextraProperties
- the properties that are extraattributeNames
- all the allowed attribute names.
-
-