Created
August 20, 2023 14:54
-
-
Save azizkale/cecc6d3feaac439e015eb2a1381be4e3 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.INTERNAL_SERVER_ERROR) | |
public class InternalServerException extends RuntimeException { | |
public InternalServerException(Throwable cause) { | |
super(cause); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment