package com.tliu3.demo.exceptions;

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

@ResponseStatus(value = HttpStatus.CONFLICT)
public class NotFoundException extends RuntimeException {
	private static final long serialVersionUID = -4593638799005145248L;

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

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

@@ -176,16 +176,17 @@
 tus.
-CONFLICT
+NOT_FOUND
 )%0Apu

Use correct status code for NotFoundException