presto-spi/src/main/java/io/prestosql/spi/security/AccessDeniedException.java/AccessDeniedException/denySetRole
class AccessDeniedException:    public static void denySetRole(String role)
    {
        throw new AccessDeniedException(format("Cannot set role %s", role));
    }