Skip to content
PermissionDeniedException.java 375 B
Newer Older
package it.inaf.oats.vospace.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(value = HttpStatus.FORBIDDEN)
public class PermissionDeniedException extends VoSpaceException {

    public PermissionDeniedException(String path) {
        super("Permission Denied at path: " + path);
    }
}