package com.raysmond.blog.error;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
/**
* @author Raysmond<i@raysmond.com>
*/
@ResponseStatus(value = HttpStatus.NOT_FOUND)
public final class NotFoundException extends RuntimeException {
private String message;
public NotFoundException(){
}
public NotFoundException(String message){
this.message = message;
}
@Override
public String getMessage(){
return message;
}
}