generated from Java-2025Fall/final-vibevault-template
13 lines
326 B
Java
13 lines
326 B
Java
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);
|
|
}
|
|
}
|