Class AccessDeniedGlobalPrivilegeMissingException

  • All Implemented Interfaces:
    ExceptionData, Serializable

    @Generated("build/redwood/jbs/generated-exceptions/Exceptions.java.tmpl")
    public class AccessDeniedGlobalPrivilegeMissingException
    extends com.redwood.scheduler.api.exception.SchedulerAPIException
    This exception is raised when a global privilege is required to access a resource, but it is not granted.
    See Also:
    Serialized Form
    • Constructor Detail

      • AccessDeniedGlobalPrivilegeMissingException

        protected AccessDeniedGlobalPrivilegeMissingException​(String newErrorCode,
                                                              String messageFormat,
                                                              Throwable cause,
                                                              Object[] exceptionDataEN,
                                                              Object[] exceptionData)
      • AccessDeniedGlobalPrivilegeMissingException

        public AccessDeniedGlobalPrivilegeMissingException​(Throwable cause,
                                                           String resourceName,
                                                           String requiredPrivilegeName)
        This exception is raised when a global privilege is required to access a resource, but it is not granted.
        Parameters:
        cause - The originating exception, null if this is the originating exception
        resourceName - The name of the resource trying to be accessed.
        requiredPrivilegeName - Global privilege that is require to access this resource.