final/src/main/java/com/vibevault/exception/UnauthorizedException.java

13 lines
326 B
Java
Raw Normal View History

2025-12-21 19:36:00 +08:00
package com.vibevault.exception;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(HttpStatus.FORBIDDEN)
public class UnauthorizedException extends RuntimeException {
public UnauthorizedException(String message) {
super(message);
}
}