Added not implemented exception for search service.

This commit is contained in:
Michael Spalti
2021-09-27 10:24:59 -07:00
parent 84ef661cfb
commit da4c5774e8

View File

@@ -0,0 +1,23 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.rest.iiif.exception;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
/**
* This exception is used when the search service has not been implemented
* for this server.
*/
@ResponseStatus(value = HttpStatus.NOT_IMPLEMENTED, reason = "Method not implemented")
public class NotImplementedException extends RuntimeException {
public NotImplementedException(String message) {
super(message);
}
}