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

edu.stanford.protege.webprotege.permissions.PermissionDeniedException Maven / Gradle / Ivy

The newest version!
package edu.stanford.protege.webprotege.permissions;



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

import javax.annotation.Nonnull;

import static com.google.common.base.Preconditions.checkNotNull;

/**
 * Author: Matthew Horridge
* Stanford University
* Bio-Medical Informatics Research Group
* Date: 05/06/2012 *

* An exception thrown in the case where a user tried to carry out some operation but did not have the appropriate * permissions to do so. *

*/ @ResponseStatus(value = HttpStatus.FORBIDDEN) public class PermissionDeniedException extends RuntimeException { public PermissionDeniedException(@Nonnull String message) { super(message); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy