All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rostore.service.apikey.PermissionDeniedException Maven / Gradle / Ivy

The newest version!
package org.rostore.service.apikey;

import org.rostore.service.RoStoreServiceException;

import jakarta.ws.rs.core.Response;

/**
 * Exception is thrown when the client tries to execute an operation
 * that it has no sufficient permissions for.
 */
public class PermissionDeniedException extends RoStoreServiceException {
    public PermissionDeniedException(final String message) {
        super(Response.Status.FORBIDDEN, message);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy