package org.ihtsdo.otf.rest.exception;

public class ResourceNotFoundException extends BusinessServiceRuntimeException {

	private static final long serialVersionUID = -4281549626769059242L;

	public ResourceNotFoundException(String resourceType, String resourceKey) {
		super(resourceType + " with key " + resourceKey + " is not accessible.");
	}

	public ResourceNotFoundException(String message) {
		super(message);
	}

	public ResourceNotFoundException(Throwable cause) {
		super(cause);
	}

	public ResourceNotFoundException(String message, Throwable cause) {
		super(message, cause);
	}

}

@@ -33,16 +33,201 @@
 ption;%0A%0A
+import org.springframework.http.HttpStatus;%0Aimport org.springframework.web.bind.annotation.ResponseStatus;%0A%0A@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = %22Resource not found%22)%0A
 public c

Add Spring HTTP response code to ResourceNotFoundException.