Created
August 20, 2023 14:53
-
-
Save azizkale/9fad21d22beed6825ec9b29a4a20ebe0 to your computer and use it in GitHub Desktop.
the article - How to implement Hibernate in Spring Boot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.kale.hibernatetutorial.exception; | |
import org.springframework.http.HttpStatus; | |
import org.springframework.web.bind.annotation.ResponseStatus; | |
@ResponseStatus(HttpStatus.NOT_FOUND) | |
public class EmployeeNotFoundException extends RuntimeException{ | |
public EmployeeNotFoundException(String message) { | |
super(message); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment