All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mapfish.print.wrapper.ObjectMissingException Maven / Gradle / Ivy

There is a newer version: 3.22.0
Show newest version
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