/* (c) 2014 Open Source Geospatial Foundation - all rights reserved * This code is licensed under the GPL 2.0 license, available at the root * application directory. */ package org.geoserver.geofence.services.rest.exception; import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.Status; /** * * @author ETj (etj at geo-solutions.it) */ public class NotFoundRestEx extends GeoFenceRestEx { /** * The Constant serialVersionUID. */ private static final long serialVersionUID = 1263563388095079971L; public NotFoundRestEx(String message) { super(message, Response.status(Status.NOT_FOUND).type("text/plain").entity(message).build()); } }