package uk.ac.ebi.atlas.controllers;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(value = HttpStatus.NOT_FOUND)
public final class ResourceNotFoundException extends RuntimeException {

    public ResourceNotFoundException(Exception exception){
        super(exception);
    }
    public ResourceNotFoundException(String message){
        super(message);
    }
}
@@ -139,16 +139,123 @@
 tatus;%0A%0A
+//TODO Make this a subclass of MissingResourceException to include fields about the resource class and key%0A
 @Respons
@@ -364,17 +364,16 @@
 ption %7B%0A
-%0A
     publ

Add a TODO note for an enhancement of ResourceNotFoundException