Files
Backend/src/main/java/cc/fascinated/exception/impl/InternalServerErrorException.java
2024-04-13 15:34:19 +01:00

13 lines
357 B
Java

package cc.fascinated.exception.impl;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR)
public class InternalServerErrorException extends RuntimeException {
public InternalServerErrorException(String message) {
super(message);
}
}