Java tutorial
/* (c) 2014 Boundless, http://boundlessgeo.com * This code is licensed under the GPL 2.0 license. */ package com.boundlessgeo.geoserver.api.exceptions; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; /** * Not Found (404) exception. */ @ResponseStatus(value = HttpStatus.NOT_FOUND) public class NotFoundException extends RuntimeException { public NotFoundException(String message) { super(message); } }