Class AccessDeniedGlobalPrivilegeMissingException

    • 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.