org.mapfish.print.wrapper.ObjectMissingException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of print-lib Show documentation
Show all versions of print-lib Show documentation
Library for generating PDFs and images from online webmapping services
package org.mapfish.print.wrapper;
import org.mapfish.print.PrintException;
/**
* Thrown when an attribute is missing in the spec.
*/
public class ObjectMissingException extends PrintException {
private static final long serialVersionUID = 1L;
/**
* Constructor.
*
* @param pJsonObject the json object queried
* @param key the key that was expected to exist.
*/
public ObjectMissingException(final PElement pJsonObject, final String key) {
super("attribute [" + pJsonObject.getPath(key) + "] missing");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy